summaryrefslogtreecommitdiff
path: root/trunk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/Makefile')
-rw-r--r--trunk/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/trunk/Makefile b/trunk/Makefile
index 24560be..7c88189 100644
--- a/trunk/Makefile
+++ b/trunk/Makefile
@@ -3,10 +3,13 @@ CC = gcc
LD = gcc
ARFLAGS = -cru
CFLAGS = -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \
- -Wwrite-strings \
- -Wnested-externs -Werror -pedantic -std=c99
+ -Wwrite-strings -Wstrict-prototypes \
+ -Wnested-externs -Werror -pedantic -std=c99 \
+ -Wno-format-zero-length -Wformat-security -Wstrict-aliasing=2 \
+ -Wmissing-format-attribute \
+ -Wformat=2 -Werror-implicit-function-declaration
LDFLAGS = -L./
-#-Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes
+#-Wmissing-declarations -Wmissing-prototypes
example: libsprite.a example.o
${LD} -g -o $@ example.o ${LDFLAGS} -lsprite -lSDL