notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove dead code
[picodrive.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
a62d9b1
..
99ba7ec
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-2,18
+2,21
@@
TARGET ?= PicoDrive
DEBUG = 0
CFLAGS += -Wall
CFLAGS += -I. -DINLINE=inline
DEBUG = 0
CFLAGS += -Wall
CFLAGS += -I. -DINLINE=inline
-ifeq ($(DEBUG),0)
-ifeq ($(platform), vita)
-CFLAGS += -O3 -DNDEBUG
-else
-CFLAGS += -O2 -DNDEBUG -ffunction-sections
-endif
+
+ifeq ($(DEBUG),1)
+ CFLAGS += -g -O0
else
else
-CFLAGS += -g -O2
+ ifeq ($(platform), vita)
+ CFLAGS += -O3 -DNDEBUG
+ else
+ CFLAGS += -O2 -DNDEBUG -ffunction-sections
+ endif
endif
endif
+
ifneq ($(APPLE),1)
ifneq ($(APPLE),1)
-LDFLAGS += -Wl,--gc-sections
+
LDFLAGS += -Wl,--gc-sections
endif
endif
+
#CFLAGS += -DEVT_LOG
#CFLAGS += -DDRC_CMP
#cpu_cmp = 1
#CFLAGS += -DEVT_LOG
#CFLAGS += -DDRC_CMP
#cpu_cmp = 1
@@
-24,7
+27,6
@@
ifeq ($(WANT_GDB),1)
CFLAGS += ggdb -falign-functions=2
endif
CFLAGS += ggdb -falign-functions=2
endif
-
all: config.mak target_
ifndef NO_CONFIG_MAK
all: config.mak target_
ifndef NO_CONFIG_MAK
@@
-53,7
+55,6
@@
asm_memory ?= 1
asm_render ?= 1
asm_ym2612 ?= 1
asm_misc ?= 1
asm_render ?= 1
asm_ym2612 ?= 1
asm_misc ?= 1
-asm_cdpico ?= 1
asm_cdmemory ?= 1
asm_mix ?= 1
else # if not arm
asm_cdmemory ?= 1
asm_mix ?= 1
else # if not arm
@@
-65,7
+66,6
@@
endif
ifneq "$(use_cyclone)" "1"
# due to CPU stop flag access
ifneq "$(use_cyclone)" "1"
# due to CPU stop flag access
-asm_cdpico = 0
asm_cdmemory = 0
endif
asm_cdmemory = 0
endif