new scope system
[luabind.git] / src / makefile
blobc1432d16877f63b2a780b8045e32502e7ef0ec53
1 include ../config
3 SOURCES = \
4 scope.cpp \
5 class.cpp \
6 class_rep.cpp \
7 function.cpp \
8 find_best_match.cpp \
9 implicit_cast.cpp \
10 open.cpp \
11 create_class.cpp \
12 stack_content_by_name.cpp \
13 object.cpp \
14 class_info.cpp
16 OBJECTS = $(SOURCES:.cpp=.o)
18 TARGET = ../lib/libluabind.a
24 all: $(TARGET)
26 $(TARGET): $(OBJECTS)
27 $(AR) rcu $@ $(OBJECTS)
28 ranlib $@
30 %.o:%.cpp
31 $(CXX) -g -Wall -c $? -o $@ $(LUA_PATH) -I- -I.. $(BOOST_PATH) $(CONFIG)
33 clean:
34 rm -f $(OBJECTS) $(TARGET)