diff --git a/.gitignore b/.gitignore index b464a60..0e51a17 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ tools/assimp/ v4k.code-workspace tests/out tests/diff +mtb.ini diff --git a/MAKE.sh b/MAKE.sh index 658807b..1c61543 100755 --- a/MAKE.sh +++ b/MAKE.sh @@ -222,15 +222,17 @@ if [ "$(uname)" = "Darwin" ]; then export args="-w -Iengine/ -framework cocoa -framework iokit -framework CoreFoundation -framework CoreAudio -framework AudioToolbox $args $flags" echo build=$build, type=$dll, cc=$cc, args=$args - # framework (as dynamic library) - if [ "$dll" = "dll" ]; then - echo libv4k && cc -ObjC -dynamiclib -o libv4k.dylib engine/v4k.c $flags $args - cp libv4k.dylib demos/lua - export import=libv4k.dylib - else - # framework - echo v4k && cc -c -ObjC engine/v4k.c $flags $args - export import=v4k.o + if [ ! -f libv4k.dylib ]; then + # framework (as dynamic library) + if [ "$dll" = "dll" ]; then + echo libv4k && cc -ObjC -dynamiclib -o libv4k.dylib engine/v4k.c $flags $args + cp libv4k.dylib demos/lua + export import=libv4k.dylib + else + # framework + echo v4k && cc -c -ObjC engine/v4k.c $flags $args + export import=v4k.o + fi fi # User-defined apps diff --git a/depot b/depot index 5a2109c..4ac9fbf 160000 --- a/depot +++ b/depot @@ -1 +1 @@ -Subproject commit 5a2109c4808447e9876281b6819b6796f1031ee4 +Subproject commit 4ac9fbf54db91950d001d6f1f92e4a1bf08fd16d