X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/1059e1cc0c2ecfa237406949aa26155b6a5b9154..66f23d4fabf89ad09adbd4dfc15ac6b5b2b7da83:/interpreter/preprocessor/faust-0.9.47mr3/examples/faust-stk/Makefile.qcompile diff --git a/interpreter/preprocessor/faust-0.9.47mr3/examples/faust-stk/Makefile.qcompile b/interpreter/preprocessor/faust-0.9.47mr3/examples/faust-stk/Makefile.qcompile new file mode 100644 index 0000000..9a12af2 --- /dev/null +++ b/interpreter/preprocessor/faust-0.9.47mr3/examples/faust-stk/Makefile.qcompile @@ -0,0 +1,17 @@ +DEST := qdir/ +dspsrc := $(wildcard *.dsp) +cppsrc := $(addprefix $(DEST), $(dspsrc:.dsp=.cpp)) +modules := $(addprefix $(DEST), $(dspsrc:%.dsp=%.so)) + +###allcpp: $(cppsrc) + +allmodules: $(modules) + +$(DEST)%.so: $(DEST)%.cpp + $(CXX) -shared -O3 $(CXXFLAGS) -Dmydsp=$(patsubst %.so,%,$(notdir $@)) $< -o $@ + +$(DEST)%.cpp: %.dsp + faust $(VEC) -a q.cpp $< -o $@ + +clean: + rm -rf $(DEST)