summaryrefslogtreecommitdiff
path: root/plugins/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Makefile')
-rw-r--r--plugins/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/Makefile b/plugins/Makefile
index f81ebcd..c881e08 100644
--- a/plugins/Makefile
+++ b/plugins/Makefile
@@ -1,3 +1,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