convert external image for test tile and blit hardcoded grid
[retrocrawl] / tools / conv_gimp
1 #!/bin/sh
2
3 if [ -z "$1" ]; then
4         echo "pass the header file exported by gimp as argument"
5         exit 1
6 fi
7
8 cc -pedantic -Wall -DHDRFILE=\"$1\" -o /tmp/conv_gimp.bin conv_gimp.c
9 if [ $? != 0 ]; then
10         exit 1
11 fi
12
13 /tmp/conv_gimp.bin `basename $1 .h`