summaryrefslogtreecommitdiff
path: root/plugins/Makefile
blob: c881e08c2eea338522784cf5a23a3617eb1636d2 (plain)
1
2
3
4
5
6
7
8
9
10
all:
	for i in *.cpp; do make $${i%.cpp}.so; done

%.so: %.cpp
	$(CXX) $(CXXFLAGS) -shared -o $@ $^ ../myfuncs.cpp 

clean:
	rm *.so *.o

.PHONY: clean all