mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -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
|
||||
DEBUG ?= 0
|
||||
CFLAGS += -Wall -g
|
||||
CFLAGS += -I.
|
||||
ifndef DEBUG
|
||||
ifeq "$(DEBUG)" "0"
|
||||
CFLAGS += -O3 -DNDEBUG
|
||||
endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue