summaryrefslogtreecommitdiff
path: root/mkrelease.sh
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2010-11-26 15:00:08 +0000
committerIan C <ianc@noddybox.co.uk>2010-11-26 15:00:08 +0000
commit5601353fc9cd66dbcca4d06fc7068af853317442 (patch)
tree88a85955b3fce3c4b23dbbeca623020328fb50e7 /mkrelease.sh
parent1007ee9a4027826cf9c9067e0f1d1e1be1123b1f (diff)
Copied DS81 files as a baselineHEADmaster
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..942726d
--- /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="-DDSVIC_DISABLE_FAT -DDSVIC_VERSION=\"\\\"$version\\\"\""
+
+mv dsvic.nds dsvic-nofat.nds
+mv dsvic.ds.gba dsvic-nofat.ds.gba
+
+make clean
+make ADDITIONAL_CFLAGS="-DDSVIC_VERSION=\"\\\"$version\\\"\""
+
+./fat_patch.sh