Ignore:
Timestamp:
Jun 1, 2015, 12:00:51 AM (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:
6081e74e
Parents:
5cb5f842
Message:

redo automake third attempt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/module.mk

    r5cb5f842 r56c3935  
    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 : Sat May 30 12:05:42 2015
    14 ## Update Count     : 16
     13## Last Modified On : Sun May 31 23:52:20 2015
     14## Update Count     : 76
    1515###############################################################################
    1616
    17 BUILT_SOURCES = Parser/cfa.tab.cc Parser/lex.yy.cc Parser/cfa.tab.h
     17BUILT_SOURCES = Parser/parser.h
    1818
    19 YACC=bison
    20 YFLAGS=-d --debug -v
    21 LEX=flex
    22 #LFLAGS=
     19AM_YFLAGS = -d -t -v
    2320
    24 SRC += Parser/cfa.tab.cc \
    25        Parser/lex.yy.cc \
     21MAINTAINERCLEANFILES = Parser/parser.output
     22
     23SRC += Parser/parser.yy \
     24       Parser/lex.ll \
    2625       Parser/TypedefTable.cc \
    2726       Parser/ParseNode.cc \
     
    3635
    3736LIBS += -lfl
    38 
    39 Parser/Parser.cc: Parser/cfa.tab.h
    40 
    41 Parser/cfa.tab.cc: Parser/cfa.y
    42         ${YACC} ${YFLAGS} $< --file-prefix=Parser/cfa
    43         -mv Parser/cfa.tab.c Parser/cfa.tab.cc
    44 
    45 Parser/cfa.tab.h: Parser/cfa.tab.cc
    46 
    47 Parser/lex.yy.cc: Parser/lex.l Parser/lex.h Parser/cfa.tab.h Parser/TypedefTable.h
    48         ${LEX} ${LFLAGS} -o$@ $<
    49 
    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.