summaryrefslogtreecommitdiff
path: root/mkrelease.sh
blob: 503449945d5d6a3a6c561614789e44ea87955860 (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="-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