Made it work on VC6.5 again. This involves changing generate_converter
[luabind.git] / test / makefile
blob531684d68c09c237760cca157727e166541da45a
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 CPPFLAGS = -Wno-long-double
31 all: $(SOURCES:.cpp=.exe)
33 %.exe:%.o main.o
34 $(CXX) $? -o $@ -g -L$(LUA_PATH)/lib -L../lib -lluabind -llualib -llua
36 %.o:%.cpp
37 $(CXX) -Wall -ftemplate-depth-100 -g $(CPPFLAGS) $(CONFIG) -I$(LUA_PATH)/include -I. -I- -I../ -I$(BOOST_ROOT) -c $? -o $@
39 #just to force the tests to be run
40 test: $(SOURCES:.cpp=.dummy)
42 %.dummy:%.exe
43 ./$?
45 clean:
46 rm -f $(SOURCES:.cpp=.o) $(SOURCES:.cpp=.exe) main.o core