*** empty log message ***
[luabind.git] / src / makefile
blob1e8984dbb04c56bba2393d932bb8dc674eabc414
1 include ../config
3 SOURCES = \
4 pcall.cpp \
5 error.cpp \
6 ref.cpp \
7 scope.cpp \
8 class.cpp \
9 class_rep.cpp \
10 function.cpp \
11 find_best_match.cpp \
12 implicit_cast.cpp \
13 open.cpp \
14 create_class.cpp \
15 stack_content_by_name.cpp \
16 object.cpp \
17 class_info.cpp \
18 class_registry.cpp
20 OBJECTS = $(SOURCES:.cpp=.o)
22 TARGET = ../lib/libluabind.a
28 all: $(TARGET)
30 $(TARGET): $(OBJECTS)
31 $(AR) rcu $@ $(OBJECTS)
32 ranlib $@
34 %.o:%.cpp
35 $(CXX) -g -Wall -DLUABIND_BUILDING -c $? -o $@ -I$(LUA_PATH) -I- -I.. -I$(BOOST_ROOT) $(CONFIG)
37 clean:
38 rm -f $(OBJECTS) $(TARGET)