summaryrefslogtreecommitdiff
path: root/mkrelease.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mkrelease.sh')
-rw-r--r--mkrelease.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/mkrelease.sh b/mkrelease.sh
index 4002f4b..2de72d1 100644
--- a/mkrelease.sh
+++ b/mkrelease.sh
@@ -2,13 +2,15 @@
rm -f *.nds *.elf *.gba *.arm9
+version=`cat version`
+
make clean
-make ADDITIONAL_CFLAGS="-DDS81_DISABLE_FAT"
+make ADDITIONAL_CFLAGS="-DDS81_DISABLE_FAT -DDS81_VERSION=\"\\\"$version\\\"\""
mv ds81.nds ds81-nofat.nds
mv ds81.ds.gba ds81-nofat.ds.gba
make clean
-make
+make ADDITIONAL_CFLAGS="-DDS81_VERSION=\"\\\"$version\\\"\""
./fat_patch.sh