wmii/mk/gcc.mk

29 lines
455 B
Makefile

DEBUGCFLAGS = \
-g \
-O0 \
-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