Backport auf gcc 4.6
[hackover2013-badge-firmware.git] / sprites / xpm_sprite_convert.sh
1 #!/bin/sh
2
3 XPM="$1"
4
5 XPM_FILE="${XPM}.xpm"
6 XPM_NAME="${XPM}_xpm"
7
8 if ! [ -f $XPM_FILE ]; then
9 exit -1
10 fi
11
12 make CFLAGS="-std=c99 -DXPM_FILE=\"$XPM_FILE\" -DXPM_NAME=\"$XPM_NAME\"" xpm_sprite_converter > /dev/null &&
13 ./xpm_sprite_converter
14
15 rm -f xpm_sprite_converter
This page took 0.040236 seconds and 5 git commands to generate.