*** empty log message ***
[luabind.git] / test / makefile
blob2113964c6d030a72ba25121cfe84a24fb1c5a957
1 include ../config
3 SOURCES = \
4 test_typetraits.cpp \
5 main.cpp \
6 test_iterator.cpp \
7 test_lua_classes.cpp \
8 test_construction.cpp \
9 test_operators.cpp \
10 test_attributes.cpp \
11 test_exceptions.cpp \
12 test_const.cpp \
13 test_null_pointer.cpp \
14 test_implicit_cast.cpp \
15 test_policies.cpp \
16 test_free_functions.cpp \
17 test_object.cpp \
18 test_held_type.cpp \
19 test_scope.cpp \
20 test_yield.cpp
22 TARGET = test_luabind
27 OBJECTS = $(SOURCES:.cpp=.o)
29 all: $(TARGET)
31 $(TARGET): $(OBJECTS)
32 $(CXX) -g $(OBJECTS) $(LUA_LIB_PATH) -L../lib -lluabind -llua -llualib -o $@
34 %.o:%.cpp
35 $(CXX) -Wall -ftemplate-depth-50 -g $(CONFIG) $(LUA_PATH) -I. -I- -I../ $(BOOST_PATH) -c $? -o $@
37 relink:
38 rm -f $(TARGET)
39 make
41 clean:
42 rm -f $(OBJECTS) $(TARGET) core