couch/scripting/Makefile
2021-01-13 16:47:16 -06:00

13 lines
215 B
Makefile

include ../common.mk
SWIG := swig
SWIG_OPTS := -lua
all: couch_wrap.o
couch_wrap.o: couch_wrap.cpp
$(CXX) $(CXXFLAGS) -I../core -c -o $@ $^
couch_wrap.cpp: couch.i
$(SWIG) -c++ $(SWIG_OPTS) -I../core -o $@ $^