mirror of https://github.com/axmolengine/axmol.git
issue #2768:Modify the linux make files of the liblua 、the testlua and hellolua projects
This commit is contained in:
parent
508654738a
commit
b5ee16399c
|
@ -10,7 +10,7 @@ INCLUDES = -I../ -I../Classes -I$(COCOS_ROOT)/CocosDenshion/include \
|
||||||
SOURCES = main.cpp ../Classes/AppDelegate.cpp
|
SOURCES = main.cpp ../Classes/AppDelegate.cpp
|
||||||
|
|
||||||
SHAREDLIBS += -lcocos2d -lcocosdenshion -llua -lextension
|
SHAREDLIBS += -lcocos2d -lcocosdenshion -llua -lextension
|
||||||
COCOS_LIBS = $(LIB_DIR)/libcocos2d.so $(LIB_DIR)/libcocosdenshion.so $(LIB_DIR)/liblua.so $(LIB_DIR)/libbox2d.so
|
COCOS_LIBS = $(LIB_DIR)/libcocos2d.so $(LIB_DIR)/libcocosdenshion.so $(LIB_DIR)/liblua.so
|
||||||
|
|
||||||
include $(COCOS_ROOT)/cocos2dx/proj.linux/cocos2dx.mk
|
include $(COCOS_ROOT)/cocos2dx/proj.linux/cocos2dx.mk
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ INCLUDES = -I../ -I../Classes -I$(COCOS_ROOT)/CocosDenshion/include \
|
||||||
SOURCES = main.cpp ../Classes/AppDelegate.cpp
|
SOURCES = main.cpp ../Classes/AppDelegate.cpp
|
||||||
|
|
||||||
SHAREDLIBS += -lcocos2d -lcocosdenshion -llua
|
SHAREDLIBS += -lcocos2d -lcocosdenshion -llua
|
||||||
COCOS_LIBS = $(LIB_DIR)/libcocos2d.so $(LIB_DIR)/libcocosdenshion.so $(LIB_DIR)/liblua.so $(LIB_DIR)/libbox2d.so
|
COCOS_LIBS = $(LIB_DIR)/libcocos2d.so $(LIB_DIR)/libcocosdenshion.so $(LIB_DIR)/liblua.so
|
||||||
|
|
||||||
include $(COCOS_ROOT)/cocos2dx/proj.linux/cocos2dx.mk
|
include $(COCOS_ROOT)/cocos2dx/proj.linux/cocos2dx.mk
|
||||||
|
|
||||||
|
|
|
@ -59,6 +59,7 @@ include ../../../cocos2dx/proj.linux/cocos2dx.mk
|
||||||
|
|
||||||
TARGET := $(LIB_DIR)/$(TARGET)
|
TARGET := $(LIB_DIR)/$(TARGET)
|
||||||
SHAREDLIBS += -lextension
|
SHAREDLIBS += -lextension
|
||||||
|
STATICLIBS += $(LIB_DIR)/libbox2d.a
|
||||||
|
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue