summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 62bc835f..e7043276 100644
--- a/Makefile
+++ b/Makefile
@@ -50,6 +50,10 @@ lex.yy.c: parser.l
y.tab.c y.tab.h: parser.y
if $(YACC) -v -d $< ; then true ; else rm $@ ; false ; fi
+# Suppress useless sccs id array and unused label warning in byacc otuput.
+# Bison-generated parser also tests for this lint define.
+y.tab.o: CFLAGS += -Dlint
+
.PHONY: rebuild
rebuild: clean $(PROG)