X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=Makefile.gp2x;h=8b1d55f2bf686b14b7a71a3225fb33d9f4f679c3;hp=d9868b3b2f4ec4e0e6b8fa2db1d1fe44b439b508;hb=a7de43667532d3b5423a59092213b50ae6485aab;hpb=5a2aa426410ad21d332ff75b58e7f4ed8459d86a diff --git a/Makefile.gp2x b/Makefile.gp2x index d9868b3..8b1d55f 100644 --- a/Makefile.gp2x +++ b/Makefile.gp2x @@ -41,7 +41,8 @@ else OBJDRIVER += x6502.o endif -x6502.o: x6502.c x6502.h ops.h fce.h sound.h +x6502.o: x6502.c x6502.h ops.h fce.h sound.h dprintf.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/* + +