source: translator/Parser/module.mk @ 0dd3a2f

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 0dd3a2f was b87a5ed, checked in by Peter A. Buhr <pabuhr@…>, 9 years ago

licencing: first groups of files

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[b87a5ed]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           : Peter A. Buhr
11## Created On       : Sat May 16 15:29:09 2015
12## Last Modified By : Peter A. Buhr
13## Last Modified On : Sat May 16 15:29:50 2015
14## Update Count     : 1
15###############################################################################
[51b7345]16
17YACC=bison
18YFLAGS=-d --debug -v
19LEX=flex
20LFLAGS=
21
22SRC += Parser/cfa.y \
23       Parser/lex.l \
24       Parser/TypedefTable.cc \
25       Parser/ParseNode.cc \
26       Parser/DeclarationNode.cc \
27       Parser/ExpressionNode.cc \
28       Parser/StatementNode.cc \
29       Parser/InitializerNode.cc \
30       Parser/TypeData.cc \
31       Parser/LinkageSpec.cc \
32       Parser/parseutility.cc \
33       Parser/Parser.cc
34
35EXTRA_OUTPUT += Parser/cfa.tab.cc \
36                Parser/cfa.tab.h \
37                Parser/lex.yy.cc \
38                Parser/cfa.output
39
40LIBS += -lfl
41
42Parser/Parser.cc: Parser/cfa.tab.h
43
44Parser/cfa.tab.cc: Parser/cfa.y
45        $(YACC) $(YFLAGS) $< --file-prefix=Parser/cfa
46        -mv Parser/cfa.tab.c Parser/cfa.tab.cc
47
48Parser/cfa.tab.h: Parser/cfa.tab.cc
49
50Parser/lex.yy.cc: Parser/lex.l Parser/cfa.tab.h Parser/TypedefTable.h
51        $(LEX) $(LFLAGS) -o$@ $<
52
53Parser/lex.yy.o: Parser/lex.yy.cc Parser/ParseNode.h
54        $(CXX) $(CXXFLAGS) -Wno-unused -c -o $@ $<
Note: See TracBrowser for help on using the repository browser.