X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pandora%2FMakefile;h=81a52ea44033c71c39ab2f5dc241508622c035c3;hb=ffc30d25671ca6d4d775445735abd13221b877c9;hp=a485146c0dded404272f83949c5a37e9c15c4308;hpb=bbba320911a86c0ee373f8297f80a2b82de22039;p=gpsp.git diff --git a/pandora/Makefile b/pandora/Makefile index a485146..81a52ea 100644 --- a/pandora/Makefile +++ b/pandora/Makefile @@ -16,7 +16,6 @@ BIN = gpsp VPATH += .. ../arm CFLAGS += -DARM_ARCH -DPND_BUILD -Wall CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfloat-abi=softfp -ffast-math -CFLAGS += -fno-common CFLAGS += -ggdb CFLAGS += -O2 @@ -27,7 +26,7 @@ LIBS += -ldl -lpthread -lz # Compilation: -all: $(BIN) +all: $(BIN) picorestore %.o: %.S $(CC) $(CFLAGS) -c -o $@ $< @@ -38,5 +37,14 @@ $(BIN): $(OBJS) $(CC) $(OBJS) $(LIBS) -o $(BIN) clean: - rm -f *.o $(BIN) + rm -f *.o $(BIN) picorestore +# ----------- release ----------- + +PND_MAKE ?= $(HOME)/dev/pnd/src/pandora-libraries/testdata/scripts/pnd_make.sh + +rel: gpsp gpsp.sh gpsp.pxml gba_icon.png picorestore readme.txt ../game_config.txt ../COPYING.DOC + rm -rf out + mkdir out + cp $^ out/ + $(PND_MAKE) -p gpsp.pnd -d out -x out/gpsp.pxml -i out/gba_icon.png -c