Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/module.mk

    r843054c2 r334163c  
    88## module.mk --
    99##
    10 ## Author           : Richard C. Bilson
     10## Author           : Peter A. Buhr
    1111## Created On       : Sat May 16 15:29:09 2015
    1212## Last Modified By : Peter A. Buhr
    13 ## Last Modified On : Thu May 21 21:17:07 2015
    14 ## Update Count     : 2
     13## Last Modified On : Mon Jun  1 08:16:25 2015
     14## Update Count     : 83
    1515###############################################################################
    1616
    17 YACC=bison
    18 YFLAGS=-d --debug -v
    19 LEX=flex
    20 LFLAGS=
     17BUILT_SOURCES = Parser/parser.h
    2118
    22 SRC += Parser/cfa.y \
    23        Parser/lex.l \
     19AM_YFLAGS = -d -t -v
     20cfa_cpp_LDADD = ${LEXLIB}       # yywrap
     21MAINTAINERCLEANFILES = Parser/parser.output
     22
     23SRC += Parser/parser.yy \
     24       Parser/lex.ll \
    2425       Parser/TypedefTable.cc \
    2526       Parser/ParseNode.cc \
     
    3233       Parser/parseutility.cc \
    3334       Parser/Parser.cc
    34 
    35 EXTRA_OUTPUT += Parser/cfa.tab.cc \
    36                 Parser/cfa.tab.h \
    37                 Parser/lex.yy.cc \
    38                 Parser/cfa.output
    39 
    40 LIBS += -lfl
    41 
    42 Parser/Parser.cc: Parser/cfa.tab.h
    43 
    44 Parser/cfa.tab.cc: Parser/cfa.y
    45         $(YACC) $(YFLAGS) $< --file-prefix=Parser/cfa
    46         -mv Parser/cfa.tab.c Parser/cfa.tab.cc
    47 
    48 Parser/cfa.tab.h: Parser/cfa.tab.cc
    49 
    50 Parser/lex.yy.cc: Parser/lex.l Parser/cfa.tab.h Parser/TypedefTable.h
    51         $(LEX) $(LFLAGS) -o$@ $<
    52 
    53 Parser/lex.yy.o: Parser/lex.yy.cc Parser/ParseNode.h
    54         $(CXX) $(CXXFLAGS) -Wno-unused -c -o $@ $<
Note: See TracChangeset for help on using the changeset viewer.