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

index fd7146a..9516516 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ else
   OPTIMIZE_FLAG = -O2
 endif
 
-CFLAGS = -Wall -ansi -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUNAME="$(UNAME)" $(MD5FLAG) $(OPTIMIZE_FLAG)
+CFLAGS = -Wall -Wextra -ansi -pedantic -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUNAME="$(UNAME)" $(MD5FLAG) $(OPTIMIZE_FLAG)
 
 all: finddup