Add const and unsigned when it make sense and use size_t. Also use -Wall
[elfdbg/.git] / GNUmakefile
index e8a75eaad17d8990ff7869902492578ef6f7143f..4b345b940df725967d1f30aa094deb3f8d221756 100644 (file)
@@ -1,5 +1,6 @@
 CC?=   cc
-CFLAGS?=       -O2 -g -pipe -D_DEFAULT_SOURCE -Wincompatible-pointer-types
+CFLAGS?=       -O2 -g -pipe -D_DEFAULT_SOURCE \
+                       -Wincompatible-pointer-types -Wall
 SRCS=  elf.c elfdbg.c compat.c
 OBJS=  ${SRCS:.c=.o}
 PREFIX?=       /usr/local