X-Git-Url: https://scm.cri.ensmp.fr/git/Faustine.git/blobdiff_plain/c7f552fd8888da2f0d8cfb228fe0f28d3df3a12c..b4b6f2ea75b9f0f3ca918f5b84016610bf7a4d4f:/interpretor/faust-0.9.47mr3/examples/Makefile.csound diff --git a/interpretor/faust-0.9.47mr3/examples/Makefile.csound b/interpretor/faust-0.9.47mr3/examples/Makefile.csound deleted file mode 100644 index c6e9456..0000000 --- a/interpretor/faust-0.9.47mr3/examples/Makefile.csound +++ /dev/null @@ -1,38 +0,0 @@ - -###-------------------------------------------- -### adjust flags to the system -### - -system := $(shell uname -s) - -ifeq ($(system), Darwin) -LIB := -I/Library/Frameworks/CsoundLib.framework/Headers -I/usr/local/include -framework CsoundLib -L/usr/local/lib -dynamiclib -arch i386 -else -#LIB := -I/usr/local/include -lsndfile -lcsound -shared -LIB := -I/usr/include/csound -shared -fPIC -endif - -###For Windows with gcc/mingw:(if headers in /usr/local/include and libs in /usr/local/lib) -###g++ -O2 -shared -o myopcode.dylib myopcode.cpp -DOPCODE_NAME=myopcode -I/usr/local/include -lsndfile -lcsound32 - - -###-------------------------------------------- -### Build csound opcodes on Darwin or Linux (fx.dsp -> fx.cpp -> fx.dylib) -### - -dspsrc := $(wildcard *.dsp) -##cppsrc := $(addprefix $(DEST), $(dspsrc:.dsp=.cpp)) -opcodes := $(addprefix $(DEST), $(dspsrc:.dsp=.dylib)) - - - -all : $(opcodes) - - -$(DEST)%.dylib : %.dsp - faust $(VEC) -uim -a csound.cpp $< -o $@.cpp - $(CXX) -O3 $(CXXFLAGS) $(LIB) -DOPCODE_NAME=$(notdir $(@:.dylib=)) $@.cpp -o $@ - - -clean : - rm -f $(DEST)