X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=Makefile;h=f195b9b65da86cf75a9387ae3fabd85846996db8;hp=b4748fc5d32cacd40b79f0ba1004d7b2f2f5a9cc;hb=303ee308587f4d2d24047ed5c43de999777cd275;hpb=7e605697028dd22dbf2d6ee4701add1e31814b1a diff --git a/Makefile b/Makefile index b4748fc5..f195b9b6 100644 --- a/Makefile +++ b/Makefile @@ -56,7 +56,7 @@ plugins/cdrcimg/%.o: CFLAGS += -Wall OBJS += plugins/cdrcimg/cdrcimg.o # gui -OBJS += gui/Config.o gui/Plugin.o +OBJS += gui/Plugin.o OBJS += frontend/main.o frontend/plugin.o frontend/plugin_lib.o OBJS += frontend/menu.o @@ -91,3 +91,15 @@ spunull.so: plugins/spunull/spunull.c clean: $(RM) $(TARGET) $(OBJS) +# ----------- release ----------- + +PND_MAKE ?= $(HOME)/dev/pnd/src/pandora-libraries/testdata/scripts/pnd_make.sh + +VER ?= $(shell git describe --abbrev=0 master) + +rel: pcsx pandora/pcsx.sh pandora/pcsx.pxml pandora/pcsx.png \ + pandora/picorestore pandora/readme.txt skin COPYING + rm -rf out + mkdir out + cp -r $^ out/ + $(PND_MAKE) -p pcsx_rearmed_$(VER).pnd -d out -x pandora/pcsx.pxml -i pandora/pcsx.png -c