stage1_2/Makefile.am
author Mario de Sousa <msousa@fe.up.pt>
Fri, 19 Aug 2011 17:33:57 +0100
changeset 354 0f24db96b519
parent 353 17bffb57a8c5
child 369 569e7d9e2406
permissions -rw-r--r--
Fixing automake configuration to work properly with flex and bison.
include ../common.mk




AM_YFLAGS = -d
AM_LFLAGS = -o$(LEX_OUTPUT_ROOT).c


# Make sure this header file is generated first (by bison), as it is included
# by other C++ code that will also be compiled.
BUILT_SOURCES = iec_bison.h

lib_LIBRARIES = libstage1_2.a
libstage1_2_a_SOURCES = \
	iec_flex.ll \
	iec_bison.yy \
	stage1_2.cc 

libstage1_2_a_CPPFLAGS =  -DDEFAULT_LIBDIR='"lib"' -I../../absyntax