notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
memhandlers slightly improved
[picodrive.git]
/
platform
/
linux
/
Makefile
diff --git
a/platform/linux/Makefile
b/platform/linux/Makefile
index
12b8860
..
015da6e
100644
(file)
--- a/
platform/linux/Makefile
+++ b/
platform/linux/Makefile
@@
-4,7
+4,7
@@
dprint = 1
# profile = 1
# profile = 1
-DEFINC = -I../.. -I. -D__GP2X__ -D_UNZIP_SUPPORT # -DBENCHMARK
+DEFINC = -I../.. -I. -D__GP2X__ -D_UNZIP_SUPPORT
-DIO_STATS
# -DBENCHMARK
GCC = gcc
STRIP = strip
AS = gcc
GCC = gcc
STRIP = strip
AS = gcc
@@
-24,9
+24,14
@@
COPT += `pkg-config --cflags gthread-2.0`
LDFLAGS += `pkg-config --libs gthread-2.0`
# frontend
LDFLAGS += `pkg-config --libs gthread-2.0`
# frontend
-OBJS += ../gp2x/main.o ../gp2x/menu.o ../gp2x/fonts.o ../gp2x/emu.o ../gp2x/usbjoy.o blit.o gp2x.o 940ctl_ym2612.o
+OBJS += ../gp2x/main.o ../gp2x/menu.o ../gp2x/emu.o ../gp2x/usbjoy.o blit.o \
+ gp2x.o 940ctl_ym2612.o log_io.o
+
+# common
+OBJS += ../common/menu.o ../common/fonts.o ../common/readpng.o
+
# Pico
# Pico
-OBJS += ../../Pico/Area.o ../../Pico/Cart.o ../../Pico/
Utils.o ../../Pico/
Memory.o ../../Pico/Misc.o \
+OBJS += ../../Pico/Area.o ../../Pico/Cart.o ../../Pico/Memory.o ../../Pico/Misc.o \
../../Pico/Pico.o ../../Pico/Sek.o ../../Pico/VideoPort.o ../../Pico/Draw2.o ../../Pico/Draw.o \
../../Pico/Patch.o
# Pico - CD
../../Pico/Pico.o ../../Pico/Sek.o ../../Pico/VideoPort.o ../../Pico/Draw2.o ../../Pico/Draw.o \
../../Pico/Patch.o
# Pico - CD
@@
-66,8
+71,11
@@
tidy:
PicoDrive : $(OBJS) ../gp2x/helix/helix_mp3_x86.a
@echo $@
PicoDrive : $(OBJS) ../gp2x/helix/helix_mp3_x86.a
@echo $@
- @$(GCC) $(COPT) $^ $(LDFLAGS) -lm -Wl,-Map=PicoDrive.map -o $@
+ @$(GCC) $(COPT) $^ $(LDFLAGS) -lm -lpng -Wl,-Map=PicoDrive.map -o $@
+
+../../cpu/musashi/m68kops.c :
+ @make -C ../../cpu/musashi
../../cpu/mz80/mz80.o : ../../cpu/mz80/mz80.asm
@echo $@
../../cpu/mz80/mz80.o : ../../cpu/mz80/mz80.asm
@echo $@