fixed scope bug in class_base::commit
[luabind.git] / src / makefile
blob892e759f5180db574d92510bac8ee9d7b7c3323f
1 include ../config
3 SOURCES = \
4 class_rep.cpp \
5 function.cpp \
6 find_best_match.cpp \
7 implicit_cast.cpp \
8 open.cpp \
9 create_class.cpp \
10 stack_content_by_name.cpp
12 OBJECTS = $(SOURCES:.cpp=.o)
14 TARGET = ../lib/libluabind.a
20 all: $(TARGET)
22 $(TARGET): $(OBJECTS)
23 $(AR) rcu $@ $(OBJECTS)
24 ranlib $@
26 %.o:%.cpp
27 $(CXX) -O3 -Wall -c $? -o $@ $(LUA_PATH) -I- -I.. $(BOOST_PATH) $(CONFIG)
29 clean:
30 rm -f $(OBJECTS) $(TARGET)