*** empty log message ***
[luabind.git] / src / makefile
bloba6b9ed98a07d4f6ca6f26510354013e964ec0b56
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 \
19 link_compatibility.cpp
21 OBJECTS = $(SOURCES:.cpp=.o)
23 TARGET = ../lib/libluabind.a
29 all: $(TARGET)
31 $(TARGET): $(OBJECTS)
32 $(AR) rcu $@ $(OBJECTS)
33 ranlib $@
35 %.o:%.cpp
36 $(CXX) -g -Wall -DLUABIND_BUILDING -c $? -o $@ -I$(LUA_PATH) -I- -I.. -I$(BOOST_ROOT) $(CONFIG)
38 clean:
39 rm -f $(OBJECTS) $(TARGET)