######################### -*- Mode: Makefile-Gmake -*- ######################## ## ## Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo ## ## The contents of this file are covered under the licence agreement in the ## file "LICENCE" distributed with Cforall. ## ## module.mk -- ## ## Author : Richard C. Bilson ## Created On : Sat May 16 15:29:09 2015 ## Last Modified By : Peter A. Buhr ## Last Modified On : Sat May 30 12:05:42 2015 ## Update Count : 16 ############################################################################### BUILT_SOURCES = Parser/cfa.tab.cc Parser/lex.yy.cc Parser/cfa.tab.h YACC=bison YFLAGS=-d --debug -v LEX=flex #LFLAGS= SRC += Parser/cfa.tab.cc \ Parser/lex.yy.cc \ Parser/TypedefTable.cc \ Parser/ParseNode.cc \ Parser/DeclarationNode.cc \ Parser/ExpressionNode.cc \ Parser/StatementNode.cc \ Parser/InitializerNode.cc \ Parser/TypeData.cc \ Parser/LinkageSpec.cc \ Parser/parseutility.cc \ Parser/Parser.cc LIBS += -lfl Parser/Parser.cc: Parser/cfa.tab.h Parser/cfa.tab.cc: Parser/cfa.y ${YACC} ${YFLAGS} $< --file-prefix=Parser/cfa -mv Parser/cfa.tab.c Parser/cfa.tab.cc Parser/cfa.tab.h: Parser/cfa.tab.cc Parser/lex.yy.cc: Parser/lex.l Parser/lex.h Parser/cfa.tab.h Parser/TypedefTable.h ${LEX} ${LFLAGS} -o$@ $< #Parser/lex.yy.o: Parser/lex.yy.cc Parser/ParseNode.h # ${CXX} ${CXXFLAGS} -Wno-unused -c -o $@ $<