--- a
+++ b/src/Makefile
@@ -0,0 +1,10 @@
+PROGS = $(patsubst %.cc,%.oct,$(wildcard *.cc))
+
+all: $(PROGS)
+
+$(PROGS): Makefile
+
+%.oct: %.cc
+	mkoctfile $<
+
+clean: ; -$(RM) *.o core octave-core *.oct *~