source: translator/Parser.old/module.mk @ 3c70d38

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change on this file since 3c70d38 was 51b7345, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

initial commit

  • Property mode set to 100644
File size: 981 bytes
Line 
1###
2### This file is part of the Cforall project
3###
4### $Id: module.mk,v 1.8 2002/09/09 16:47:14 rcbilson Exp $
5###
6
7YACC=bison
8YFLAGS=-d --debug -v
9LEX=flex
10LFLAGS=
11
12SRC += Parser/cfa.y \
13       Parser/lex.l \
14       Parser/TypedefTable.cc \
15       Parser/ParseNode.cc \
16       Parser/DeclarationNode.cc \
17       Parser/ExpressionNode.cc \
18       Parser/StatementNode.cc \
19       Parser/InitializerNode.cc \
20       Parser/TypeData.cc \
21       Parser/LinkageSpec.cc \
22       Parser/parseutility.cc \
23       Parser/Parser.cc
24
25EXTRA_OUTPUT += Parser/cfa.tab.cc \
26                Parser/cfa.tab.h \
27                Parser/lex.yy.cc \
28                Parser/cfa.output
29
30LIBS += -lfl
31
32Parser/cfa.tab.cc: Parser/cfa.y
33        $(YACC) $(YFLAGS) $<
34        -mv Parser/cfa.tab.c Parser/cfa.tab.cc
35
36Parser/cfa.tab.h: Parser/cfa.tab.cc
37
38Parser/lex.yy.cc: Parser/lex.l Parser/cfa.tab.h Parser/TypedefTable.h
39        $(LEX) $(LFLAGS) -o$@ $<
40
41Parser/lex.yy.o: Parser/lex.yy.cc Parser/ParseNode.h
42        $(CXX) $(CXXFLAGS) -Wno-unused -c -o $@ $<
Note: See TracBrowser for help on using the repository browser.