aboutsummaryrefslogtreecommitdiff
path: root/tools/bison++/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bison++/Makefile')
-rw-r--r--tools/bison++/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/tools/bison++/Makefile b/tools/bison++/Makefile
new file mode 100644
index 000000000..7538b76a1
--- /dev/null
+++ b/tools/bison++/Makefile
@@ -0,0 +1,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
+