diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2011-12-17 05:05:16 +0000 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2011-12-17 05:05:16 +0000 |
commit | 135f4ce3ab19ce1da76fce5f88288dd93dcba8e5 (patch) | |
tree | f8efca5dde6fcfc5ca0e78f60345df5b0fb3ed8d | |
parent | bc1c192290e907cdec67bb7bf420bdc04bfcc4ed (diff) | |
download | cis-tools-135f4ce3ab19ce1da76fce5f88288dd93dcba8e5.tar.gz |
Enable warnings (-Wall -W) by default
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,3 +1,4 @@ +CFLAGS += -Wall -W CPPFLAGS += -I. YFLAGS = -d @@ -14,7 +15,7 @@ yacc_cis.o: yacc_cis.c @mkdir -p .depfiles ; mv $*.d .depfiles lex_cis.o: lex_cis.c yacc_cis.h - $(CC) -MD $(CFLAGS) $(CPPFLAGS) -c $< + $(CC) -MD $(CFLAGS) -Wno-unused-function $(CPPFLAGS) -c $< @mkdir -p .depfiles ; mv $*.d .depfiles pack_cis: pack_cis.o lex_cis.o yacc_cis.o |