From: Francois Fleuret Date: Thu, 17 Jun 2010 20:38:57 +0000 (+0200) Subject: Added the -Wextra option to the compiler. X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=finddup.git;a=commitdiff_plain;h=3656394c38f6aa0ffe29ba12e4ae763e440b764a Added the -Wextra option to the compiler. --- diff --git a/Makefile b/Makefile index fd7146a..9516516 100644 --- 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