aboutsummaryrefslogtreecommitdiff
path: root/tools/bison++/Makefile
blob: 7538b76a15da8c1394d6a87eaf20130ac2321a31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
TTYAPP = bison++

CSRCS = closure.cc \
			derives.cc \
			getargs.cc \
			getopt1.cc \
			lalr.cc  \
			lr0.cc \
			nullable.cc \
			print.cc \
			reduce.cc \
			version.cc \
			warshall.cc \
			allocate.cc \
			conflict.cc \
			files.cc \
			getopt.cc \
			gram.cc \
			lex.cc \
			main.cc \
			output.cc \
			reader.cc \
			symtab.cc\
			old.c 

PFILE = bison.cc
PFILE1 = bison.hairy
HFILE = bison.h

DEFINES += HAVE_STDLIB_H HAVE_STRING_H XPFILE="""$(PFILE)""" XHFILE="""$(HFILE)""" XPFILE1="""$(PFILE1)"""

CCFLAGS := $(subst -MD,-MT,$(CCFLAGS))  # to have static linking