notaz.gp2x.de
/
libpicofe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
FAME + some random stuff added
[libpicofe.git]
/
linux
/
Makefile
diff --git
a/linux/Makefile
b/linux/Makefile
index
e3aac31
..
6aed56e
100644
(file)
--- a/
linux/Makefile
+++ b/
linux/Makefile
@@
-1,6
+1,7
@@
# settings
# settings
-dprint = 1
+use_fame = 1
+
# profile = 1
# profile = 1
@@
-46,8
+47,13
@@
OBJS += ../../zlib/gzio.o ../../zlib/inffast.o ../../zlib/inflate.o ../../zlib/i
# unzip
OBJS += ../../unzip/unzip.o ../../unzip/unzip_stream.o
# CPU cores
# unzip
OBJS += ../../unzip/unzip.o ../../unzip/unzip_stream.o
# CPU cores
+ifeq "$(use_fame)" "1"
+DEFINC += -DEMU_F68K
+OBJS += ../../cpu/fame/famec.o
+else
DEFINC += -DEMU_M68K
OBJS += ../../cpu/musashi/m68kops.o ../../cpu/musashi/m68kcpu.o
DEFINC += -DEMU_M68K
OBJS += ../../cpu/musashi/m68kops.o ../../cpu/musashi/m68kcpu.o
+endif
# mz80
DEFINC += -D_USE_MZ80
OBJS += ../../cpu/mz80/mz80.o
# mz80
DEFINC += -D_USE_MZ80
OBJS += ../../cpu/mz80/mz80.o
@@
-95,3
+101,7
@@
PicoDrive : $(OBJS) ../common/helix/helix_mp3_x86.a
@echo $@
@$(GCC) $(COPT_COMMON) $(DEFINC) -c $< -o $@ # -mtune=arm940t -DEXTERNAL_YM2612
@echo $@
@$(GCC) $(COPT_COMMON) $(DEFINC) -c $< -o $@ # -mtune=arm940t -DEXTERNAL_YM2612
+../../cpu/fame/famec.o : ../../cpu/fame/famec.c
+ @echo $<
+ @$(GCC) $(COPT) $(DEFINC) -Wno-unused -c $< -o $@
+