minor changes
parent
dbb11d46e2
commit
0536d99b80
|
@ -27,3 +27,4 @@ tools/assimp/
|
|||
v4k.code-workspace
|
||||
tests/out
|
||||
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"
|
||||
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
|
||||
|
|
2
depot
2
depot
|
@ -1 +1 @@
|
|||
Subproject commit 5a2109c4808447e9876281b6819b6796f1031ee4
|
||||
Subproject commit 4ac9fbf54db91950d001d6f1f92e4a1bf08fd16d
|
Loading…
Reference in New Issue