mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
Makefile: Build with optimizations if DEBUG=0
This commit is contained in:
parent
fd587b673e
commit
079bc1bf44
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -1,7 +1,8 @@
|
||||||
TARGET ?= PicoDrive
|
TARGET ?= PicoDrive
|
||||||
|
DEBUG ?= 0
|
||||||
CFLAGS += -Wall -g
|
CFLAGS += -Wall -g
|
||||||
CFLAGS += -I.
|
CFLAGS += -I.
|
||||||
ifndef DEBUG
|
ifeq "$(DEBUG)" "0"
|
||||||
CFLAGS += -O3 -DNDEBUG
|
CFLAGS += -O3 -DNDEBUG
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue