issue #2768:Modify the linux make files of the liblua 、the testlua and hellolua projects

This commit is contained in:
samuele3hu 2013-10-10 11:09:09 +08:00
parent 508654738a
commit b5ee16399c
3 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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)