1# where to install the library 2PROCESSING = ~/Documents/Processing/libraries 3DST = $(PROCESSING)/faustProcessing 4 5all : binaries examples 6 7 8help : 9 @echo "You need to have Faust2 compiled and installed" 10 @echo "make : build the faustProcessing library and the examples" 11 @echo "make install : install the faustProcessing library into $(PROCESSING)" 12 @echo "make uninstall : remove the faustProcessing library from $(PROCESSING)" 13 @echo "make clean : remove the files produced by make" 14 15 16binaries : 17 mkdir -p binaries 18 make -C binaries -f ../src/Makefile.library 19 20 21examples : 22 mkdir examples 23 ./src/scripts/buildProcessingExamples 24 25 26clean : 27 rm -rf examples 28 rm -rf binaries 29 30 31install : 32 # install library properties 33 mkdir -p $(DST) 34 mkdir -p $(DST)/library 35 cp src/library.properties $(DST)/ 36 # install library 37 cp binaries/faustProcessing.jar $(DST)/library 38 cp binaries/libFaustEngine.jnilib $(DST)/library 39 cp src/faust-libraries/* $(DST)/library 40 # install examples 41 cp -r examples $(DST) 42 43 44uninstall : 45 rm -rf $(DST) 46