stage1_2/Makefile.am
changeset 354 0f24db96b519
parent 353 17bffb57a8c5
child 369 569e7d9e2406
equal deleted inserted replaced
353:17bffb57a8c5 354:0f24db96b519
     1 include ../common.mk
     1 include ../common.mk
     2 
     2 
       
     3 
       
     4 
       
     5 
       
     6 AM_YFLAGS = -d
       
     7 AM_LFLAGS = -o$(LEX_OUTPUT_ROOT).c
       
     8 
       
     9 
       
    10 # Make sure this header file is generated first (by bison), as it is included
       
    11 # by other C++ code that will also be compiled.
       
    12 BUILT_SOURCES = iec_bison.h
       
    13 
     3 lib_LIBRARIES = libstage1_2.a
    14 lib_LIBRARIES = libstage1_2.a
     4 
       
     5 iec.y.cc: iec.y
       
     6 	$(YACC) -d -v -o iec.y.cc iec.y
       
     7 
       
     8 iec.flex.cc: iec.flex
       
     9 	$(LEX) -o iec.flex.cc iec.flex
       
    10 
       
    11 libstage1_2_a_SOURCES = \
    15 libstage1_2_a_SOURCES = \
    12 	iec.flex.cc \
    16 	iec_flex.ll \
    13 	iec.y.cc \
    17 	iec_bison.yy \
    14 	stage1_2.cc 
    18 	stage1_2.cc 
    15 
    19 
    16 libstage1_2_a_CPPFLAGS =  -DDEFAULT_LIBDIR='"lib"' -I../../absyntax
    20 libstage1_2_a_CPPFLAGS =  -DDEFAULT_LIBDIR='"lib"' -I../../absyntax
    17 
    21