source: src/Parser/module.mk@ f7d59bf

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 f7d59bf was 843054c2, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

licencing: seventh groups of files

  • Property mode set to 100644
File size: 1.5 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 : Thu May 21 21:17:07 2015
14## Update Count : 2
15###############################################################################
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.