stage1_2/Makefile.am
author Mario de Sousa <msousa@fe.up.pt>
Thu, 21 Dec 2017 17:56:12 +0000
changeset 1065 0066fe31a034
parent 1015 9414b0785849
permissions -rw-r--r--
fix bug: allow variables with names starting with 'var' to be used in the first line of POU body
include ../common.mk

## Flags for yacc syntax parser generator (bison)
AM_YFLAGS = -d
## Flags for lex lexer generator (flex)
AM_LFLAGS = --warn -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.hh

%.hh: %.h
	cp $< $@

CLEANFILES = \
	iec_flex.cc \
	iec_bison.cc \
	iec_bison.hh

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 -DYY_BUF_SIZE=65536 -fpermissive