diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2014-07-05 12:33:57 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2014-07-05 12:33:57 (GMT) |
commit | e002818cf6aba7e2f56a08b8d9306b026f90ec4e (patch) | |
tree | aebdeb30b31cc3c90674a26e3c019248dbf86064 /programs/Makefile | |
parent | 070b33518a69c3f7905b0c5cd2fa9ffb50273848 (diff) | |
download | lz4-e002818cf6aba7e2f56a08b8d9306b026f90ec4e.zip lz4-e002818cf6aba7e2f56a08b8d9306b026f90ec4e.tar.gz lz4-e002818cf6aba7e2f56a08b8d9306b026f90ec4e.tar.bz2 |
Modified : Makefile : added -Wshadow option, suggest by Boris Faure
Diffstat (limited to 'programs/Makefile')
-rw-r--r-- | programs/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/programs/Makefile b/programs/Makefile index 3d7aadf..c62366c 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -1,4 +1,4 @@ -# ################################################################ +# ########################################################################## # LZ4 programs - Makefile # Copyright (C) Yann Collet 2011-2014 # GPL v2 License @@ -20,7 +20,7 @@ # You can contact the author at : # - LZ4 source repository : http://code.google.com/p/lz4/ # - LZ4 forum froup : https://groups.google.com/forum/#!forum/lz4c -# ################################################################ +# ########################################################################## # lz4 : Command Line Utility, supporting gzip-like arguments # lz4c : CLU, supporting also legacy lz4demo arguments # lz4c32: Same as lz4c, but forced to compile in 32-bits mode @@ -28,13 +28,13 @@ # fuzzer32: Same as fuzzer, but forced to compile in 32-bits mode # fullbench : Precisely measure speed for each LZ4 function variant # fullbench32: Same as fullbench, but forced to compile in 32-bits mode -# ################################################################ +# ########################################################################## RELEASE=rc120 DESTDIR= PREFIX=/usr CC:=$(CC) -CFLAGS+= -std=c99 -O3 -Wall -W -Wundef -DLZ4_VERSION=\"$(RELEASE)\" +CFLAGS+= -std=c99 -O3 -Wall -Wextra -Wundef -Wshadow -DLZ4_VERSION=\"$(RELEASE)\" FLAGS= -I.. $(CFLAGS) BINDIR=$(PREFIX)/bin |