Codebase list jacktrip / upstream/1.5.2+ds0 faust-src / Makefile.qcompile
upstream/1.5.2+ds0

Tree @upstream/1.5.2+ds0 (Download .tar.gz)

Makefile.qcompile @upstream/1.5.2+ds0raw · history · blame

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)