X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=build.sh;h=db2fa321ef9cb63b0e14a984e33d332bc7e73338;hb=ab7f9c0826344344193502caaaa72c4abe48248c;hp=598e7fe57473fad96f2c69f7d71b5c0431735c27;hpb=ad02b7b8ea3a30296b11887c5e9bf252a9e32e95;p=fishladder.git diff --git a/build.sh b/build.sh index 598e7fe..db2fa32 100755 --- 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 @@ -81,4 +85,4 @@ else ./$target cd ./../ fi -fi \ No newline at end of file +fi