notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor timing change
[libpicofe.git]
/
gp2x
/
Makefile
diff --git
a/gp2x/Makefile
b/gp2x/Makefile
index
5b8b039
..
1458a34
100644
(file)
--- a/
gp2x/Makefile
+++ b/
gp2x/Makefile
@@
-32,7
+32,12
@@
use_cyclone = 1
endif
\r
\r
DEFINC = -I../.. -I. -DARM -D__GP2X__ -D_UNZIP_SUPPORT # -DBENCHMARK
\r
endif
\r
\r
DEFINC = -I../.. -I. -DARM -D__GP2X__ -D_UNZIP_SUPPORT # -DBENCHMARK
\r
-COPT_COMMON = -static -Wall -O2 -ftracer -fstrength-reduce -fomit-frame-pointer -fstrict-aliasing -ffast-math
\r
+COPT_COMMON = -static -Wall -Winline
\r
+ifeq ($(DEBUG),)
\r
+COPT_COMMON += -O2 -ftracer -fstrength-reduce -fomit-frame-pointer -fstrict-aliasing -ffast-math
\r
+else
\r
+COPT_COMMON += -ggdb
\r
+endif
\r
ifeq "$(profile)" "1"
\r
COPT_COMMON += -fprofile-generate
\r
endif
\r
ifeq "$(profile)" "1"
\r
COPT_COMMON += -fprofile-generate
\r
endif
\r