Ignore:
Timestamp:
May 31, 2015, 1:54:23 PM (7 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, ctor, deferred_resn, demangler, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, string, with_gc
Children:
5cb5f842
Parents:
86bd7c1f
Message:

redo automake first attempt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/module.mk

    r86bd7c1f r00cc023  
    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 : Sat May 30 12:05:42 2015
     14## Update Count     : 16
    1515###############################################################################
     16
     17BUILT_SOURCES = Parser/cfa.tab.cc Parser/lex.yy.cc Parser/cfa.tab.h
    1618
    1719YACC=bison
    1820YFLAGS=-d --debug -v
    1921LEX=flex
    20 LFLAGS=
     22#LFLAGS=
    2123
    22 SRC += Parser/cfa.y \
    23        Parser/lex.l \
     24SRC += Parser/cfa.tab.cc \
     25       Parser/lex.yy.cc \
    2426       Parser/TypedefTable.cc \
    2527       Parser/ParseNode.cc \
     
    3335       Parser/Parser.cc
    3436
    35 EXTRA_OUTPUT += Parser/cfa.tab.cc \
    36                 Parser/cfa.tab.h \
    37                 Parser/lex.yy.cc \
    38                 Parser/cfa.output
    39 
    4037LIBS += -lfl
    4138
     
    4340
    4441Parser/cfa.tab.cc: Parser/cfa.y
    45         $(YACC) $(YFLAGS) $< --file-prefix=Parser/cfa
     42        ${YACC} ${YFLAGS} $< --file-prefix=Parser/cfa
    4643        -mv Parser/cfa.tab.c Parser/cfa.tab.cc
    4744
    4845Parser/cfa.tab.h: Parser/cfa.tab.cc
    4946
    50 Parser/lex.yy.cc: Parser/lex.l Parser/cfa.tab.h Parser/TypedefTable.h
    51         $(LEX) $(LFLAGS) -o$@ $<
     47Parser/lex.yy.cc: Parser/lex.l Parser/lex.h Parser/cfa.tab.h Parser/TypedefTable.h
     48        ${LEX} ${LFLAGS} -o$@ $<
    5249
    53 Parser/lex.yy.o: Parser/lex.yy.cc Parser/ParseNode.h
    54         $(CXX) $(CXXFLAGS) -Wno-unused -c -o $@ $<
     50#Parser/lex.yy.o: Parser/lex.yy.cc Parser/ParseNode.h
     51#       ${CXX} ${CXXFLAGS} -Wno-unused -c -o $@ $<
Note: See TracChangeset for help on using the changeset viewer.