X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=picodrive.git;a=blobdiff_plain;f=Makefile;h=34f5d4039b73b5c2383d28d1ad688662c5598cea;hp=78fa5386ad3d6aa83ac29c58e36bb14b2a588589;hb=079bc1bf446e57d81ffaa87dab66b5e90f0f6f01;hpb=fd587b673e51820d82cfeec142048a97faeafd05 diff --git a/Makefile b/Makefile index 78fa538..34f5d40 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,8 @@ TARGET ?= PicoDrive +DEBUG ?= 0 CFLAGS += -Wall -g CFLAGS += -I. -ifndef DEBUG +ifeq "$(DEBUG)" "0" CFLAGS += -O3 -DNDEBUG endif