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