notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improved debug
[fceu.git]
/
Makefile.gp2x
diff --git
a/Makefile.gp2x
b/Makefile.gp2x
index
d9868b3
..
94693c2
100644
(file)
--- a/
Makefile.gp2x
+++ b/
Makefile.gp2x
@@
-16,7
+16,7
@@
LDRIVER += -O3 # -pg
endif
asm_6502=1
endif
asm_6502=1
-
#
debug_asm_6502=1
+debug_asm_6502=1
all: fceu
all: fceu
@@
-42,6
+42,7
@@
OBJDRIVER += x6502.o
endif
x6502.o: x6502.c x6502.h ops.h fce.h sound.h
endif
x6502.o: x6502.c x6502.h ops.h fce.h sound.h
+
ncpu.o: ncpu.S ncpu.h
$(CC) $(TFLAGS) -c $< -o $@
ncpu.o: ncpu.S ncpu.h
$(CC) $(TFLAGS) -c $< -o $@
@@
-60,3
+61,14
@@
include Makefile.common
up: fceu
cp -v fceu /mnt/gp2x/mnt/sd/emus/Gpfce_v02/gpfce
up: fceu
cp -v fceu /mnt/gp2x/mnt/sd/emus/Gpfce_v02/gpfce
+# ----------- release -----------
+ifneq ($(findstring rel,$(MAKECMDGOALS)),)
+ifeq ($(VER),)
+$(error need VER)
+endif
+endif
+
+rel: gpfce
+ zip -9 -j Gpfce_v$(VER).zip $^ drivers/gp2x/mmuhack.o out_gp2x/*
+
+