Subversion Repositories Projects

Rev

Rev 457 | Rev 480 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 457 Rev 461
Line 20... Line 20...
20
# ****************************************************************************/
20
# ****************************************************************************/
21
 
21
 
22
DATE=`date +%Y%m%d-%H%M`
22
DATE=`date +%Y%m%d-%H%M`
23
 
23
 
24
# build pal hex
24
# build pal hex
25
export CFLAGS="-DBUILDDATE=${DATE} "
25
export CFLAGS="-DBUILDDATE=\\\"${DATE}\\\" "
26
make clean
26
make clean
27
make
27
make
28
mv C-OSD.hex C-OSD-${DATE}-pal.hex
28
mv C-OSD.hex C-OSD-${DATE}-pal.hex
29
 
29
 
30
#build pal hex FCONLY
30
#build pal hex FCONLY
31
export CFLAGS="-DFCONLY=1 -DBUILDDATE=${DATE} "
31
export CFLAGS="-DFCONLY=1 -DBUILDDATE=\\\"${DATE}\\\" "
32
make clean
32
make clean
33
make
33
make
34
mv C-OSD.hex C-OSD-${DATE}-pal-fconly.hex
34
mv C-OSD.hex C-OSD-${DATE}-pal-fconly.hex
35
 
35
 
36
# build ntsc hex
36
# build ntsc hex
37
export CFLAGS="-DNTSC=1 -DBUILDDATE=${DATE} "
37
export CFLAGS="-DNTSC=1 -DBUILDDATE=\\\"${DATE}\\\" "
38
make clean
38
make clean
39
make
39
make
40
mv C-OSD.hex C-OSD-${DATE}-ntsc.hex
40
mv C-OSD.hex C-OSD-${DATE}-ntsc.hex
41
 
41
 
42
# build ntsc hex FCONLY
42
# build ntsc hex FCONLY
43
export CFLAGS="-DNTSC=1 -DFCONLY=1 -DBUILDDATE=${DATE} "
43
export CFLAGS="-DNTSC=1 -DFCONLY=1 -DBUILDDATE=\\\"${DATE}\\\" "
44
make clean
44
make clean
45
make
45
make
46
mv C-OSD.hex C-OSD-${DATE}-ntsc-fconly.hex
46
mv C-OSD.hex C-OSD-${DATE}-ntsc-fconly.hex
47
 
47
 
48
# buil all character files
48
# buil all character files
49
CHARFILES="112 128 136 144 152 160 168 176 184 192 200 208 216 224 232"
49
CHARFILES="112 128 136 144 152 160 168 176 184 192 200 208 216 224 232"
50
for i in $CHARFILES; do
50
for i in $CHARFILES; do
51
        make clean
51
        make clean
52
        export CFLAGS="-DWRITECHARS=${i} -DBUILDDATE=${DATE} "
52
        export CFLAGS="-DWRITECHARS=${i} -DBUILDDATE=\\\"${DATE}\\\" "
53
        make
53
        make
54
        TILL=`echo $i + 7 | bc`
54
        TILL=`echo $i + 7 | bc`
55
        mv C-OSD.hex C-OSD-characters-${i}-${TILL}.hex
55
        mv C-OSD.hex C-OSD-characters-${i}-${TILL}.hex
56
done
56
done
57
 
57