summaryrefslogtreecommitdiff
path: root/mkrelease.sh
blob: 2de72d15b072a7c6c9a9035c7f036f96d0861105 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

rm -f *.nds *.elf *.gba *.arm9

version=`cat version`

make clean
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 ADDITIONAL_CFLAGS="-DDS81_VERSION=\"\\\"$version\\\"\""

./fat_patch.sh