xsd2ttcn: fixed list generation
[deliverable/titan.core.git] / langviz / Makefile
CommitLineData
d44e3c4f 1##############################################################################
2# Copyright (c) 2000-2016 Ericsson Telecom AB
970ed795
EL
3# All rights reserved. This program and the accompanying materials
4# are made available under the terms of the Eclipse Public License v1.0
5# which accompanies this distribution, and is available at
6# http://www.eclipse.org/legal/epl-v10.html
d44e3c4f 7#
8# Contributors:
9# Balasko, Jeno
10# Forstner, Matyas
11# Raduly, Csaba
12# Szabo, Janos Zoltan – initial implementation
13#
14##############################################################################
970ed795
EL
15# Makefile for the langviz
16
17include ../Makefile.cfg
18
19TARGETS := langviz$(EXESUFFIX)
20
21GENERATED_SOURCES := bison_la.yy.cc bison_p.tab.cc
22
23SOURCES := main.cc error.c Node.cc Symbol.cc Rule.cc Grammar.cc Iterator.cc Graph.cc $(GENERATED_SOURCES)
24
25GENERATED_HEADERS := bison_p.tab.hh
26
27GENERATED_OTHERS := bison_p.output lex.backup
28
29OBJECTS := $(patsubst %.cc,%.o,$(patsubst %.c,%.o,$(SOURCES)))
30
31COMMON_OBJECTS := ../common/memory.o ../common/new.o ../compiler2/string.o
32
33DEPFILES := $(patsubst %.cc,%.d,$(patsubst %.c,%.d,$(SOURCES)))
34
35SUBDIRS :=
36
37.PHONY:
38
39all run: $(TARGETS)
40
41install: $(TARGETS)
42ifeq ($(DEBUG), no)
43 $(STRIP) $(TARGETS)
44endif
45 mkdir -p $(BINDIR)
46 cp $(TARGETS) $(BINDIR)
47
48langviz$(EXESUFFIX): $(OBJECTS) $(COMMON_OBJECTS)
49 $(CXX) $(LDFLAGS) -o $@ $(OBJECTS) $(COMMON_OBJECTS)
50
51bison_la.yy.cc: bison_la.l
52 $(FLEX) $(FLEXFLAGS) -o$@ $<
53
54bison_p.tab.cc bison_p.tab.hh: bison_p.y
55 $(BISON) $(BISONFLAGS) $<
56
57include ../Makefile.genrules
This page took 0.025169 seconds and 5 git commands to generate.