1 ##############################################################################
2 # Copyright (c) 2000-2016 Ericsson Telecom AB
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
12 # Szabo, Janos Zoltan – initial implementation
14 ##############################################################################
15 # Makefile for the langviz
17 include ..
/Makefile.cfg
19 TARGETS
:= langviz
$(EXESUFFIX
)
21 GENERATED_SOURCES
:= bison_la.yy.
cc bison_p.tab.
cc
23 SOURCES
:= main.
cc error.c Node.
cc Symbol.
cc Rule.
cc Grammar.
cc Iterator.
cc Graph.
cc $(GENERATED_SOURCES
)
25 GENERATED_HEADERS
:= bison_p.tab.hh
27 GENERATED_OTHERS
:= bison_p.output
lex.backup
29 OBJECTS
:= $(patsubst %.
cc,%.o
,$(patsubst %.c
,%.o
,$(SOURCES
)))
31 COMMON_OBJECTS
:= ..
/common
/memory.o ..
/common
/new.o ..
/compiler2
/string.o
33 DEPFILES
:= $(patsubst %.
cc,%.d
,$(patsubst %.c
,%.d
,$(SOURCES
)))
46 cp
$(TARGETS
) $(BINDIR
)
48 langviz
$(EXESUFFIX
): $(OBJECTS
) $(COMMON_OBJECTS
)
49 $(CXX
) $(LDFLAGS
) -o
$@
$(OBJECTS
) $(COMMON_OBJECTS
)
51 bison_la.yy.
cc: bison_la.l
52 $(FLEX
) $(FLEXFLAGS
) -o
$@
$<
54 bison_p.tab.
cc bison_p.tab.hh
: bison_p.y
55 $(BISON
) $(BISONFLAGS
) $<
57 include ..
/Makefile.genrules
This page took 0.030314 seconds and 5 git commands to generate.