milsko/configure

17 lines
310 B
Text
Raw Normal View History

#!/bin/sh
# $Id$
FLAGS="-Duse_freetype2 -Duse_stb_image -Dbuild_opengl -Dbuild_vulkan"
for i in $@; do
case "$i")
--help|-h)
echo "Configuration utility for Milsko Toolkit"
;;
esac
done
if ! m4 $FLAGS Makefile.m4 > Makefile; then
echo "(M4 exited with non-zero status)"
rm -f Makefile
exit 1
fi