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 a5a6e91..d971c6b 160000 --- a/depot +++ b/depot @@ -1 +1 @@ -Subproject commit a5a6e91459692414ab3589db6f19ac1a92a56a21 +Subproject commit d971c6bfdfddbb39dd4f4cb233e48419dd4aedc3