2008-01-20 06:47:05 +03:00
|
|
|
DEBUGCFLAGS = \
|
|
|
|
-g \
|
|
|
|
-O1 \
|
|
|
|
-fno-builtin \
|
|
|
|
-fno-inline \
|
|
|
|
-fno-omit-frame-pointer \
|
|
|
|
-fno-optimize-sibling-calls \
|
2008-05-26 05:53:14 +04:00
|
|
|
-fno-unroll-loops
|
2007-05-10 22:30:22 +04:00
|
|
|
CFLAGS += \
|
2007-07-17 00:52:35 +04:00
|
|
|
-std=c99 \
|
2010-05-22 06:52:47 +04:00
|
|
|
-pedantic-errors \
|
2008-01-16 09:01:04 +03:00
|
|
|
-pipe \
|
2008-01-24 05:45:30 +03:00
|
|
|
-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 \
|
2008-01-16 09:01:04 +03:00
|
|
|
-Wtrigraphs
|
2008-01-18 01:50:35 +03:00
|
|
|
MKDEP = cpp -M
|
|
|
|
SOCFLAGS += -fPIC
|
|
|
|
|