projects
/
retrocrawl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
c05deb7a857f03287246304f29cab3f546b6177a
[retrocrawl]
/
tools
/
conv_sprite
1
#!/bin/sh
2
3
if [ -z "$1" ]; then
4
echo "pass the sprite header file as argument"
5
exit 1
6
fi
7
8
cc -pedantic -Wall -DHDRFILE=\"$1\" -o /tmp/conv_sprite.bin conv_sprite.c
9
if [ $? != 0 ]; then
10
exit 1
11
fi
12
13
/tmp/conv_sprite.bin