notaz.gp2x.de
/
picodrive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd587b6
)
Makefile: Build with optimizations if DEBUG=0
author
orbea
<orbea@fredslev.dk>
Mon, 2 Apr 2018 02:43:22 +0000
(19:43 -0700)
committer
notaz
<notasas@gmail.com>
Mon, 2 Apr 2018 20:19:50 +0000
(23:19 +0300)
Makefile
patch
|
blob
|
blame
|
history
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