wmii/mk/gcc.mk
2010-05-27 12:12:28 -04:00

29 lines
455 B
Makefile

DEBUGCFLAGS = \
-g \
-O1 \
-fno-builtin \
-fno-inline \
-fno-omit-frame-pointer \
-fno-optimize-sibling-calls \
-fno-unroll-loops
CFLAGS += \
-std=c99 \
-pedantic \
-pipe \
-fno-strict-aliasing \
-Wall \
-Wimplicit \
-Wmissing-prototypes \
-Wno-comment \
-Wno-missing-braces \
-Wno-parentheses \
-Wno-sign-compare \
-Wno-switch \
-Wpointer-arith \
-Wreturn-type \
-Wstrict-prototypes \
-Wtrigraphs
MKDEP = cpp -M
SOCFLAGS += -fPIC