1 ###############################################################################
2 # Copyright (c) 2000-2015 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
7 ###############################################################################
8 # Makefile for the langviz
10 include ..
/Makefile.cfg
12 TARGETS
:= langviz
$(EXESUFFIX
)
14 GENERATED_SOURCES
:= bison_la.yy.
cc bison_p.tab.
cc
16 SOURCES
:= main.
cc error.c Node.
cc Symbol.
cc Rule.
cc Grammar.
cc Iterator.
cc Graph.
cc $(GENERATED_SOURCES
)
18 GENERATED_HEADERS
:= bison_p.tab.hh
20 GENERATED_OTHERS
:= bison_p.output
lex.backup
22 OBJECTS
:= $(patsubst %.
cc,%.o
,$(patsubst %.c
,%.o
,$(SOURCES
)))
24 COMMON_OBJECTS
:= ..
/common
/memory.o ..
/common
/new.o ..
/compiler2
/string.o
26 DEPFILES
:= $(patsubst %.
cc,%.d
,$(patsubst %.c
,%.d
,$(SOURCES
)))
39 cp
$(TARGETS
) $(BINDIR
)
41 langviz
$(EXESUFFIX
): $(OBJECTS
) $(COMMON_OBJECTS
)
42 $(CXX
) $(LDFLAGS
) -o
$@
$(OBJECTS
) $(COMMON_OBJECTS
)
44 bison_la.yy.
cc: bison_la.l
45 $(FLEX
) $(FLEXFLAGS
) -o
$@
$<
47 bison_p.tab.
cc bison_p.tab.hh
: bison_p.y
48 $(BISON
) $(BISONFLAGS
) $<
50 include ..
/Makefile.genrules
This page took 0.032649 seconds and 5 git commands to generate.