notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Makefile: Build with optimizations if DEBUG=0
[picodrive.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
78fa538
..
34f5d40
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,7
+1,8
@@
TARGET ?= PicoDrive
+DEBUG ?= 0
CFLAGS += -Wall -g
CFLAGS += -I.
-if
ndef DEBUG
+if
eq "$(DEBUG)" "0"
CFLAGS += -O3 -DNDEBUG
endif