moved around some code
[luabind.git] / src / makefile
blob93670084ad5a4c5578b26b9763b6d8ecfe9c4be1
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 \
16 class_registry
18 OBJECTS = $(SOURCES:.cpp=.o)
20 TARGET = ../lib/libluabind.a
26 all: $(TARGET)
28 $(TARGET): $(OBJECTS)
29 $(AR) rcu $@ $(OBJECTS)
30 ranlib $@
32 %.o:%.cpp
33 $(CXX) -g -Wall -c $? -o $@ $(LUA_PATH) -I- -I.. $(BOOST_PATH) $(CONFIG)
35 clean:
36 rm -f $(OBJECTS) $(TARGET)