summaryrefslogtreecommitdiffstats
path: root/programs/Makefile
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2014-07-14 22:29:40 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2014-07-14 22:29:40 (GMT)
commita154628e709f5ac3591266ecef7be763826c6add (patch)
treedcdb62941c38553599571ba95412dd5013aec72c /programs/Makefile
parentfbe14d128e881abb12aaf55d5ff31be0066b69ad (diff)
downloadlz4-a154628e709f5ac3591266ecef7be763826c6add.zip
lz4-a154628e709f5ac3591266ecef7be763826c6add.tar.gz
lz4-a154628e709f5ac3591266ecef7be763826c6add.tar.bz2
Makefile : added -Wstrict-prototype, as suggested by Larry Doolittle
Diffstat (limited to 'programs/Makefile')
-rw-r--r--programs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/Makefile b/programs/Makefile
index c62366c..5127c5d 100644
--- a/programs/Makefile
+++ b/programs/Makefile
@@ -34,7 +34,7 @@ RELEASE=rc120
DESTDIR=
PREFIX=/usr
CC:=$(CC)
-CFLAGS+= -std=c99 -O3 -Wall -Wextra -Wundef -Wshadow -DLZ4_VERSION=\"$(RELEASE)\"
+CFLAGS+= -std=c99 -O3 -Wall -Wextra -Wundef -Wshadow -Wstrict-prototypes -DLZ4_VERSION=\"$(RELEASE)\"
FLAGS= -I.. $(CFLAGS)
BINDIR=$(PREFIX)/bin