Add /usr/local/lib/faustine and /usr/lib/faustine to preprocessor import path.
[Faustine.git] / interpretor / preprocessor / faust-0.9.47mr3 / examples / faust-stk / Makefile.iphonecompile
1 dspsrc := $(wildcard *.dsp)
2 cppsrc := $(addprefix $(DEST), $(dspsrc:.dsp=.cpp))
3 appl := $(addprefix $(DEST), $(dspsrc:.dsp=$(EXT)))
4
5 all : $(appl)
6
7 $(DEST)% : %.dsp
8 install -d $@
9 cp -r /usr/local/lib/faust/iPhone/* $@
10 faust $(VEC) -a $(ARCH) $< -o $@/iphone-faust.h
11 xcodebuild -project $@/iPhone.xcodeproj PRODUCT_NAME=$(<:.dsp=)
12 cp -r $@/build/Release-iphoneos/$(<:.dsp=.app) $@/../
13 rm -r $@
14
15 clean :
16 rm -f $(DEST)