Added Magic tool API version API.

This commit is contained in:
William Kendrick 2007-07-08 07:53:39 +00:00
parent abf6a2a1bb
commit 73b8464b75
22 changed files with 85 additions and 172 deletions

View file

@ -29,7 +29,7 @@
# in Tux Paint's Makefile, via 'sed', by the 'make install-magic-plugin-dev'
# target.
# July 5, 2007 - July 5, 2007
# July 5, 2007 - July 8, 2007
if [ $# -ne 0 ]; then
@ -37,15 +37,15 @@ if [ $# -ne 0 ]; then
echo "__VERSION__"
exit
fi
if [ $1 = "--apiversion" ]; then
echo "__APIVERSION__"
exit
fi
if [ $1 = "--cflags" ]; then
echo `sdl-config --cflags` -I__INCLUDE__
exit
fi
if [ $1 = "--libs" ]; then
echo `sdl-config --libs`
exit
fi
fi
echo "Usage: tp-magic-config [--version] [--cflags] [--libs]"
echo "Usage: tp-magic-config [--apiversion] [--version] [--cflags]"