summaryrefslogtreecommitdiff
path: root/pandora/Makefile
diff options
context:
space:
mode:
authornotaz2011-09-08 02:43:35 +0300
committernotaz2011-09-08 03:08:42 +0300
commitffc30d25671ca6d4d775445735abd13221b877c9 (patch)
treec4c1ab86acd9137b66861593a2da3e8204190016 /pandora/Makefile
parent931b76c04b4f5c756704710ffa59ea929db82fb8 (diff)
downloadpicogpsp-ffc30d25671ca6d4d775445735abd13221b877c9.tar.gz
picogpsp-ffc30d25671ca6d4d775445735abd13221b877c9.tar.bz2
picogpsp-ffc30d25671ca6d4d775445735abd13221b877c9.zip
u7/pandora release
Diffstat (limited to 'pandora/Makefile')
-rw-r--r--pandora/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/pandora/Makefile b/pandora/Makefile
index d28a13f..81a52ea 100644
--- a/pandora/Makefile
+++ b/pandora/Makefile
@@ -26,7 +26,7 @@ LIBS += -ldl -lpthread -lz
# Compilation:
-all: $(BIN)
+all: $(BIN) picorestore
%.o: %.S
$(CC) $(CFLAGS) -c -o $@ $<
@@ -37,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