X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=Makefile;h=724fdbc861a0e3bf096b2623d28974f7dc8ee24b;hp=30627530a30a3b0a3a205a99a6735c21447612e7;hb=ce879073e4f228deec8bec5db8a2ff640636c88f;hpb=4f3639fab62fa95f4bdc620b2e3500e717a0fcf3 diff --git a/Makefile b/Makefile index 30627530..724fdbc8 100644 --- a/Makefile +++ b/Makefile @@ -86,8 +86,21 @@ $(TARGET): $(OBJS) $(CC) -o $@ $^ $(LDFLAGS) -Wl,-Map=$@.map spunull.so: plugins/spunull/spunull.c - $(CC) $(CFLAGS) -shared -fPIC -o $@ $^ + $(CC) $(CFLAGS) -shared -fPIC -ggdb -O2 -o $@ $^ 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 spunull.so pandora/pcsx.sh pandora/pcsx.pxml pandora/pcsx.png \ + pandora/picorestore pandora/readme.txt skin COPYING + rm -rf out + mkdir -p out/plugins + cp -r $^ out/ + mv out/*.so out/plugins/ + $(PND_MAKE) -p pcsx_rearmed_$(VER).pnd -d out -x pandora/pcsx.pxml -i pandora/pcsx.png -c