summaryrefslogtreecommitdiffstats
path: root/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 /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 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d82c124..28a0bfc 100644
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ LIBVER=$(LIBVER_MAJOR).$(LIBVER_MINOR).$(LIBVER_PATCH)
DESTDIR=
PREFIX = /usr
CC := $(CC)
-CFLAGS+= -I. -std=c99 -O3 -Wall -Wextra -Wundef -Wshadow -DLZ4_VERSION=\"$(RELEASE)\"
+CFLAGS+= -I. -std=c99 -O3 -Wall -Wextra -Wundef -Wshadow -Wstrict-prototypes -DLZ4_VERSION=\"$(RELEASE)\"
LIBDIR?= $(PREFIX)/lib
INCLUDEDIR=$(PREFIX)/include