source: Plugins/luaScripting/Makefile @ 12

Revision 12, 942 bytes checked in by art, 13 years ago (diff)
  • Friendly thread execution added (yielding of threads and main thread)
  • Test directory added, where simple test programms will be build
  • Each Makefile now contains the TOPDIR variable
Line 
1TOPDIR= ../..
2
3#-----------------------------------------------
4# Include defs for defining the variables
5#-----------------------------------------------
6include $(TOPDIR)/Make/Makedefs
7
8#-----------------------------------------------
9# We have to built this files into the library
10#-----------------------------------------------
11CPPFILES = Plugin.cpp\
12        Script.cpp\
13        ScriptConnector.cpp\
14        ScriptLoader.cpp
15                       
16# some definitions
17TARGET = luaScripting.so
18INCPATH += -I../include
19CFLAGS += -fPIC
20LDFLAGS = -shared -L/usr/local/gcc-4.1.1-static/lib -Wl,-Bstatic -lstdc++ -lgcc -lm -Wl,-Bdynamic -llua
21
22# installation definitions
23INSTALL_DST_LIB = $(INST_LOCATION_LIB)/nrEngine
24INSTALL_SRC_LIB = $(TARGET)
25UNINSTALL_DIR = $(INST_LOCATION_LIB)/nrEngine
26
27#-----------------------------------------------
28# Include rules for handling the objects
29#-----------------------------------------------
30include $(TOPDIR)/Make/Makerules
31sinclude make.dep
Note: See TracBrowser for help on using the repository browser.