Added the -Wextra option to the compiler.
authorFrancois Fleuret <francois@fleuret.org>
Thu, 17 Jun 2010 20:38:32 +0000 (22:38 +0200)
committerFrancois Fleuret <francois@fleuret.org>
Thu, 17 Jun 2010 20:38:32 +0000 (22:38 +0200)
Makefile

index 279f091..3325911 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ else
   OPTIMIZE_FLAG = -O2
 endif
 
-CFLAGS = -Wall -ansi -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUNAME="$(UNAME)" $(OPTIMIZE_FLAG)
+CFLAGS = -Wall -Wextra -ansi -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUNAME="$(UNAME)" $(OPTIMIZE_FLAG)
 
 all: dus