source: src/Parser/module.mk @ 5cb5f842

aaron-thesisarm-ehcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerresolv-newstringwith_gc
Last change on this file since 5cb5f842 was 00cc023, checked in by Peter A. Buhr <pabuhr@…>, 7 years ago

redo automake first attempt

  • Property mode set to 100644
File size: 1.4 KB
Line 
1######################### -*- Mode: Makefile-Gmake -*- ########################
2##
3## Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
4##
5## The contents of this file are covered under the licence agreement in the
6## file "LICENCE" distributed with Cforall.
7##
8## module.mk --
9##
10## Author           : Richard C. Bilson
11## Created On       : Sat May 16 15:29:09 2015
12## Last Modified By : Peter A. Buhr
13## Last Modified On : Sat May 30 12:05:42 2015
14## Update Count     : 16
15###############################################################################
16
17BUILT_SOURCES = Parser/cfa.tab.cc Parser/lex.yy.cc Parser/cfa.tab.h
18
19YACC=bison
20YFLAGS=-d --debug -v
21LEX=flex
22#LFLAGS=
23
24SRC += Parser/cfa.tab.cc \
25       Parser/lex.yy.cc \
26       Parser/TypedefTable.cc \
27       Parser/ParseNode.cc \
28       Parser/DeclarationNode.cc \
29       Parser/ExpressionNode.cc \
30       Parser/StatementNode.cc \
31       Parser/InitializerNode.cc \
32       Parser/TypeData.cc \
33       Parser/LinkageSpec.cc \
34       Parser/parseutility.cc \
35       Parser/Parser.cc
36
37LIBS += -lfl
38
39Parser/Parser.cc: Parser/cfa.tab.h
40
41Parser/cfa.tab.cc: Parser/cfa.y
42        ${YACC} ${YFLAGS} $< --file-prefix=Parser/cfa
43        -mv Parser/cfa.tab.c Parser/cfa.tab.cc
44
45Parser/cfa.tab.h: Parser/cfa.tab.cc
46
47Parser/lex.yy.cc: Parser/lex.l Parser/lex.h Parser/cfa.tab.h Parser/TypedefTable.h
48        ${LEX} ${LFLAGS} -o$@ $<
49
50#Parser/lex.yy.o: Parser/lex.yy.cc Parser/ParseNode.h
51#       ${CXX} ${CXXFLAGS} -Wno-unused -c -o $@ $<
Note: See TracBrowser for help on using the repository browser.