summaryrefslogtreecommitdiff
path: root/mkrelease.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mkrelease.sh')
-rw-r--r--mkrelease.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/mkrelease.sh b/mkrelease.sh
new file mode 100644
index 0000000..5034499
--- /dev/null
+++ b/mkrelease.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+rm -f *.nds *.elf *.gba *.arm9
+
+version=`cat version`
+
+make clean
+make ADDITIONAL_CFLAGS="-DDS48_DISABLE_FAT -DDS48_VERSION=\"\\\"$version\\\"\""
+
+mv ds48.nds ds48-nofat.nds
+mv ds48.ds.gba ds48-nofat.ds.gba
+
+make clean
+make ADDITIONAL_CFLAGS="-DDS48_VERSION=\"\\\"$version\\\"\""
+
+./fat_patch.sh