source: translator/Parser.old/module.mk@ c8ffe20b

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay gc_noraii jacob/cs343-translation jenkins-sandbox memory new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new string with_gc
Last change on this file since c8ffe20b was 51b73452, checked in by Peter A. Buhr <pabuhr@…>, 11 years ago

initial commit

  • Property mode set to 100644
File size: 981 bytes
RevLine 
[51b73452]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.