X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Makefile;h=34f5d4039b73b5c2383d28d1ad688662c5598cea;hb=079bc1bf446e57d81ffaa87dab66b5e90f0f6f01;hp=2620a7046b5cc71677beae7636bc4e02b8f3cd0f;hpb=88f6038d0572233e6d076ca4319166f2c4381bbb;p=picodrive.git diff --git a/Makefile b/Makefile index 2620a70..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 @@ -236,4 +237,5 @@ cpu/sh2/compiler.o : cpu/drc/emit_x86.c cpu/sh2/mame/sh2pico.o : cpu/sh2/mame/sh2.c pico/pico.o pico/cd/mcd.o pico/32x/32x.o : pico/pico_cmn.c pico/pico_int.h pico/memory.o pico/cd/memory.o pico/32x/memory.o : pico/pico_int.h pico/memory.h +# pico/cart.o : pico/carthw_cfg.c cpu/fame/famec.o: cpu/fame/famec.c cpu/fame/famec_opcodes.h