switch to marbles and create model compiler
[fishladder.git] / build.sh
index db1a526e8bf802d09f5d39b3c6cf86375dcd7d59..db2fa321ef9cb63b0e14a984e33d332bc7e73338 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -50,6 +50,10 @@ if [ "$do_build" = true ]; then
        echo "Build succeeded"
 fi
 
+# Build tools
+mkdir tools -p
+gcc -Wall -Wstrict-aliasing=3 $lib $flags mdlcomp.c gl/glad.c -o tools/mdlcomp $libs -Wl,-rpath=./ $defines
+
 if [[ "$OSTYPE" == "linux-gnu"* ]]; then
        # Directories to initialize
        mkdir build.linux/cfg -p