2 CXXFLAGS
= -Wall
-ftemplate-depth-50
-Os
14 test_null_pointer.
cpp\
15 test_implicit_cast.
cpp\
17 test_free_functions.
cpp\
23 #libs = -llua -llualib -L/scratch/lua-5.0/lib -L.
24 libs
= -llua
-llualib
-lluabind
-L
/usr
/local
/lib
-L..
/src
26 #inc = -I./ -I/scratch/lua-5.0/include -I- -I.. -I/scratch/boost_1_30_0
27 inc
= -I.
/ -I
/usr
/local
/include -I-
-I..
32 MAKEDEPEND
= $(CXX
) -MM
33 DEPENDFILE
= Makedepend
35 O_FILES
= $(sources
:.
cpp=.o
)
40 $(CXX
) $(CXXFLAGS
) $^
$(inc
) $(libs
) -o
$@
43 $(CXX
) $(CXXFLAGS
) $(inc
) -c
-o
$*.o
$*.
cpp
46 $(CXX
) $(CXXFLAGS
) $(inc
) -c
-o
$*.o
$*.
cpp
51 $(MAKEDEPEND
) $(CXXFLAGS
) $(inc
) $(sources
) > $(DEPENDFILE
)
62 $(RM
) $(O_FILES
) $(target
) core