minor changes
parent
dbb11d46e2
commit
0536d99b80
|
@ -27,3 +27,4 @@ tools/assimp/
|
||||||
v4k.code-workspace
|
v4k.code-workspace
|
||||||
tests/out
|
tests/out
|
||||||
tests/diff
|
tests/diff
|
||||||
|
mtb.ini
|
||||||
|
|
20
MAKE.sh
20
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"
|
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
|
echo build=$build, type=$dll, cc=$cc, args=$args
|
||||||
|
|
||||||
# framework (as dynamic library)
|
if [ ! -f libv4k.dylib ]; then
|
||||||
if [ "$dll" = "dll" ]; then
|
# framework (as dynamic library)
|
||||||
echo libv4k && cc -ObjC -dynamiclib -o libv4k.dylib engine/v4k.c $flags $args
|
if [ "$dll" = "dll" ]; then
|
||||||
cp libv4k.dylib demos/lua
|
echo libv4k && cc -ObjC -dynamiclib -o libv4k.dylib engine/v4k.c $flags $args
|
||||||
export import=libv4k.dylib
|
cp libv4k.dylib demos/lua
|
||||||
else
|
export import=libv4k.dylib
|
||||||
# framework
|
else
|
||||||
echo v4k && cc -c -ObjC engine/v4k.c $flags $args
|
# framework
|
||||||
export import=v4k.o
|
echo v4k && cc -c -ObjC engine/v4k.c $flags $args
|
||||||
|
export import=v4k.o
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# User-defined apps
|
# User-defined apps
|
||||||
|
|
2
depot
2
depot
|
@ -1 +1 @@
|
||||||
Subproject commit 5a2109c4808447e9876281b6819b6796f1031ee4
|
Subproject commit 4ac9fbf54db91950d001d6f1f92e4a1bf08fd16d
|
Loading…
Reference in New Issue