msousa@353: include ../common.mk msousa@353: msousa@354: AM_YFLAGS = -d msousa@354: AM_LFLAGS = -o$(LEX_OUTPUT_ROOT).c msousa@354: msousa@354: # Make sure this header file is generated first (by bison), as it is included msousa@354: # by other C++ code that will also be compiled. msousa@354: BUILT_SOURCES = iec_bison.h msousa@354: Matteo@369: CLEANFILES = \ Matteo@369: iec_flex.cc \ Matteo@369: iec_bison.cc \ Matteo@369: iec_bison.h Matteo@369: msousa@353: lib_LIBRARIES = libstage1_2.a msousa@353: libstage1_2_a_SOURCES = \ msousa@354: iec_flex.ll \ msousa@354: iec_bison.yy \ msousa@353: stage1_2.cc msousa@353: msousa@353: libstage1_2_a_CPPFLAGS = -DDEFAULT_LIBDIR='"lib"' -I../../absyntax msousa@353: