/usr/lib/faust/Makefile.dssicompile is in faust 0.9.46-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ARCH := dssi.cpp
DEST := dssidir/
dspsrc := $(wildcard *.dsp)
cppsrc := $(addprefix $(DEST), $(dspsrc:.dsp=.cpp))
modules := $(addprefix $(DEST), $(dspsrc:%.dsp=%.so))
###allcpp: $(cppsrc)
allmodules: $(modules)
ifeq ($(system), Darwin)
SHAREDFLAG := -bundle
else
SHAREDFLAG := -shared
endif
$(DEST)%.so: $(DEST)%.cpp
$(CXX) -I. -Wall $(LIB) -fPIC -DPIC $(SHAREDFLAG) $(CXXFLAGS) -Dmydsp=$(patsubst %.so,%,$(notdir $@)) $< -o $@
$(DEST)%.cpp: %.dsp
faust $(VEC) -a $(ARCH) $< -o $@
clean:
rm -rf $(DEST)
|