New directory tree, with preprocessor/ inside interpretor/.
[Faustine.git] / interpretor / preprocessor / faust-0.9.47mr3 / benchmark / Makefile.compile
diff --git a/interpretor/preprocessor/faust-0.9.47mr3/benchmark/Makefile.compile b/interpretor/preprocessor/faust-0.9.47mr3/benchmark/Makefile.compile
new file mode 100644 (file)
index 0000000..7cb7885
--- /dev/null
@@ -0,0 +1,15 @@
+dspsrc  := $(wildcard *.dsp)
+cppsrc  := $(addprefix $(DEST), $(dspsrc:.dsp=.cpp))
+appl   := $(addprefix $(DEST), $(dspsrc:.dsp=$(EXT)))
+
+
+all :  $(appl)
+
+
+$(DEST)%$(EXT) : %.dsp 
+       faust $(VEC) -a $(ARCH) $< -o $@.cpp
+       $(CXX) -O3 $(CXXFLAGS) $@.cpp $(LIB) -o $@
+       
+
+clean :
+       rm -f $(DEST)