stage1_2/Makefile.am
author Mario de Sousa <msousa@fe.up.pt>
Fri, 19 Jul 2013 13:31:35 +0100
changeset 823 c95f42f28b69
parent 748 ad4265253528
child 820 62b55ca5b879
permissions -rw-r--r--
Declare that YYLSTYPE is not the default trivial datatype used by bison. (was causing compile errors in bison ver >= 2.7)
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

CLEANFILES = \
	iec_flex.cc \
	iec_bison.cc \
	iec_bison.h

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

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