/usr/share/doc/faust/examples/Makefile.iphonecompile 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 | dspsrc := $(wildcard *.dsp)
cppsrc := $(addprefix $(DEST), $(dspsrc:.dsp=.cpp))
appl := $(addprefix $(DEST), $(dspsrc:.dsp=$(EXT)))
all : $(appl)
$(DEST)% : %.dsp
install -d $@
cp -r /usr/local/lib/faust/iPhone/* $@
faust $(VEC) -a $(ARCH) $< -o $@/iphone-faust.h
xcodebuild -project $@/iPhone.xcodeproj PRODUCT_NAME=$(<:.dsp=)
cp -r $@/build/Release-iphoneos/$(<:.dsp=.app) $@/../
rm -r $@
clean :
rm -f $(DEST)
|