X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=Makefile.gp2x;h=95398d6d7d6222a826c2637d8dc37d95e71451da;hp=50710374cb1cb08a7824c694e34ca302a7c24835;hb=68eb34ef8b43287bd29b1d7074536189c56e2e32;hpb=92e249b10ad9e479eddb18974555366dba725ef3 diff --git a/Makefile.gp2x b/Makefile.gp2x index 5071037..95398d6 100644 --- a/Makefile.gp2x +++ b/Makefile.gp2x @@ -27,7 +27,7 @@ include zlib/Makefile OBJDRIVER = ${B}minimal.o ${B}squidgehack.o ${B}asmutils.o ${B}gp2x.o ${B}main.o ${B}throttle.o \ ${B}unix-netplay.o ${B}gp2x-sound.o ${B}gp2x-video.o ${B}lnx-joystick.o \ - drivers/common/cheat.o drivers/common/config.o drivers/common/args.o drivers/common/vidblit.o ${UNZIPOBJS} ppu.o + drivers/common/cheat.o drivers/common/config.o drivers/common/args.o drivers/common/vidblit.o ${UNZIPOBJS} ppu.o movie.o LDRIVER += -L /mnt/sd/lib -L/mnt/sd/gp2x/usr/lib -lm -lz -static -Wl,-Map=fceu.map ifeq ($(asm_6502),1) @@ -42,6 +42,7 @@ OBJDRIVER += x6502.o endif x6502.o: x6502.c x6502.h ops.h fce.h sound.h + 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 +# ----------- 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/* + +