wmii/mk/gcc.mk

29 lines
455 B
Makefile
Raw Normal View History

2008-01-20 06:47:05 +03:00
DEBUGCFLAGS = \
-g \
-O0 \
2008-01-20 06:47:05 +03:00
-fno-builtin \
-fno-inline \
-fno-omit-frame-pointer \
-fno-optimize-sibling-calls \
-fno-unroll-loops
2007-05-10 22:30:22 +04:00
CFLAGS += \
2007-07-17 00:52:35 +04:00
-std=c99 \
-pedantic \
-pipe \
-fno-strict-aliasing \
2007-05-10 22:30:22 +04:00
-Wall \
2008-01-18 23:05:45 +03:00
-Wimplicit \
-Wmissing-prototypes \
2007-05-10 22:30:22 +04:00
-Wno-comment \
2008-01-18 23:05:45 +03:00
-Wno-missing-braces \
-Wno-parentheses \
2007-05-10 22:30:22 +04:00
-Wno-sign-compare \
2008-01-18 23:05:45 +03:00
-Wno-switch \
-Wpointer-arith \
2007-05-25 01:42:33 +04:00
-Wreturn-type \
-Wstrict-prototypes \
-Wtrigraphs
MKDEP = cpp -M
SOCFLAGS += -fPIC