summaryrefslogtreecommitdiff
path: root/grammar/Makefile.am
blob: d231bb46ec9f3b3b12b0f263b553d758da38caab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
BUILT_SOURCES = grammar.h
CLEANFILES = grammar.h grammar.c
AM_YFLAGS = -d
noinst_LTLIBRARIES = libgrammar.la
#bin_PROGRAMS = testdriver # TODO: make this conditional

libgrammar_la_SOURCES = \
	grammar.y \
	lexer.l \
	rainerscript.c \
	rainerscript.h \
	parserif.h \
	grammar.h
libgrammar_la_CPPFLAGS =  $(RSRT_CFLAGS)

#testdriver_SOURCES = testdriver.c libgrammar.la
#testdriver_CPPFLAGS =  $(RSRT_CFLAGS)
#testdriver_LDADD = libgrammar.la
#testdriver_LDFLAGS = -lestr