mirror of https://github.com/axmolengine/axmol.git
Merge pull request #548 from minggo/master
add link path & copy cocosdenshion depended libs into lib/linux/Debug
This commit is contained in:
commit
be42eec8db
|
@ -14,9 +14,9 @@ DEFINES = -DLINUX
|
||||||
OBJECTS = ../Linux/FmodAudioPlayer.o \
|
OBJECTS = ../Linux/FmodAudioPlayer.o \
|
||||||
../Linux/SimpleAudioEngine.o \
|
../Linux/SimpleAudioEngine.o \
|
||||||
|
|
||||||
|
|
||||||
STATICLIBS =
|
STATICLIBS =
|
||||||
SHAREDLIBS = -lfmodex
|
SHAREDLIBS_DIR = ../third_party/fmod/api/lib
|
||||||
|
SHAREDLIBS = -L$(SHAREDLIBS_DIR) -lfmodex
|
||||||
|
|
||||||
####### Build rules
|
####### Build rules
|
||||||
$(TARGET): $(OBJECTS)
|
$(TARGET): $(OBJECTS)
|
||||||
|
|
|
@ -23,6 +23,9 @@ if [ ! -d "lib/linux/Release" ]; then
|
||||||
mkdir "lib/linux/Release"
|
mkdir "lib/linux/Release"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# copy cocosdenshino depended libs into lib/linux/Debug/
|
||||||
|
cp CocosDenshion/third_party/fmod/api/lib/*.so lib/linux/Debug
|
||||||
|
|
||||||
if [ $# -ne 0 ]; then
|
if [ $# -ne 0 ]; then
|
||||||
if [ $1 = "clean" ]; then
|
if [ $1 = "clean" ]; then
|
||||||
cd $p/cocos2dx/proj.linux
|
cd $p/cocos2dx/proj.linux
|
||||||
|
|
Loading…
Reference in New Issue