summaryrefslogtreecommitdiff
path: root/glcpp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'glcpp/Makefile')
-rw-r--r--glcpp/Makefile25
1 files changed, 0 insertions, 25 deletions
diff --git a/glcpp/Makefile b/glcpp/Makefile
deleted file mode 100644
index 1578a8ee30..0000000000
--- a/glcpp/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-# Debug symbols by default, but let the user avoid that with something
-# like "make CFLAGS=-O2"
-CFLAGS = -g
-
-# But we use 'override' here so that "make CFLAGS=-O2" will still have
-# all the warnings enabled.
-override CFLAGS += -Wall -Wextra -Wwrite-strings -Wswitch-enum -Wno-unused
-
-glcpp: glcpp.o glcpp-lex.o glcpp-parse.o hash_table.o xtalloc.o
- gcc -o $@ -ltalloc -lm $^
-
-%.c %.h: %.y
- bison --debug --defines=$*.h --output=$*.c $^
-
-%.c: %.l
- flex --outfile=$@ $<
-
-glcpp-lex.c: glcpp-parse.h
-
-test: glcpp
- @(cd tests; ./glcpp-test)
-
-clean:
- rm -f glcpp glcpp-lex.c glcpp-parse.c *.o *~
- rm -f tests/*.out tests/*~