notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix build without cyclone
[picodrive.git]
/
platform
/
common
/
common.mak
diff --git
a/platform/common/common.mak
b/platform/common/common.mak
index
f4730d7
..
6376dca
100644
(file)
--- a/
platform/common/common.mak
+++ b/
platform/common/common.mak
@@
-1,3
+1,18
@@
+ifdef drc_debug
+use_fame = 1
+use_cz80 = 1
+use_cyclone = 0
+use_drz80 = 0
+
+asm_memory = 0
+asm_render = 0
+asm_ym2612 = 0
+asm_misc = 0
+asm_cdpico = 0
+asm_cdmemory = 0
+asm_mix = 0
+endif
+
ifeq "$(profile)" "1"
CFLAGS += -fprofile-generate
endif
ifeq "$(profile)" "1"
CFLAGS += -fprofile-generate
endif
@@
-139,7
+154,7
@@
SRCS_COMMON += $(R)cpu/sh2/compiler.c
ifdef drc_debug
DEFINES += DRC_DEBUG=$(drc_debug)
SRCS_COMMON += $(R)cpu/sh2/mame/sh2dasm.c
ifdef drc_debug
DEFINES += DRC_DEBUG=$(drc_debug)
SRCS_COMMON += $(R)cpu/sh2/mame/sh2dasm.c
-SRCS_COMMON += $(R)platform/linux/host_dasm.c
+SRCS_COMMON += $(R)platform/li
bpicofe/li
nux/host_dasm.c
LDFLAGS += -lbfd -lopcodes -liberty
endif
ifeq "$(drc_debug_interp)" "1"
LDFLAGS += -lbfd -lopcodes -liberty
endif
ifeq "$(drc_debug_interp)" "1"