Added test for `object::operator()` of different
[luabind.git] / test / makefile
blob853f006db626413cd779f31c15a335d031ccd413
1 include ../config
3 SOURCES = \
4 test_abstract_base.cpp \
5 test_attributes.cpp \
6 test_const.cpp \
7 test_construction.cpp \
8 test_exceptions.cpp \
9 test_free_functions.cpp \
10 test_held_type.cpp \
11 test_implicit_cast.cpp \
12 test_iterator.cpp \
13 test_lua_classes.cpp \
14 test_null_pointer.cpp \
15 test_object.cpp \
16 test_operators.cpp \
17 test_policies.cpp \
18 test_scope.cpp \
19 test_separation.cpp \
20 test_simple_class.cpp \
21 test_typetraits.cpp \
22 test_yield.cpp \
23 test_null_pointer.cpp \
24 test_policies.cpp \
25 test_free_functions.cpp \
26 test_iterator.cpp \
29 all: $(SOURCES:.cpp=.exe)
31 %.exe:%.o main.o
32 $(CXX) $? -o $@ -g -L$(LUA_PATH)/lib -L../lib -lluabind -llualib -llua
34 %.o:%.cpp
35 $(CXX) -Wall -ftemplate-depth-100 -g $(CONFIG) -I$(LUA_PATH)/include -I. -I- -I../ -I$(BOOST_ROOT) -c $? -o $@
37 #just to force the tests to be run
38 test: $(SOURCES:.cpp=.dummy)
40 %.dummy:%.exe
41 ./$?
43 clean:
44 rm -f $(SOURCES:.cpp=.o) $(SOURCES:.cpp=.exe) main.o core