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