diff options
-rw-r--r-- | Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f99e5c6 --- /dev/null +++ b/Makefile @@ -0,0 +1,35 @@ +# ############################################### +# LATER think about automatic adding of libraries +IEMLIBS = iemlib1 iemlib2 iem_t3_lib iem_mp3 + +# this is where we install to +PREFIX =/usr/local/lib/pd + +# this is where we install to (in detail) +INSTALL_BIN=$(PREFIX)/extra +INSTALL_DOC=$(PREFIX)/extra/iemhelp + +# LATER think about separating iemabs and iemhelp + +# ############################################### +.PHONY: iemlibs $(IEMLIBS) + +iemlibs: $(IEMLIBS) + +$(IEMLIBS): + $(MAKE) -C src/$@ + +install: install-bin install-doc install-abs + +install-bin: + -install -d ${INSTALL_BIN} + -install -m 644 lib/*.* $(INSTALL_BIN) + +install-doc: + -install -d ${INSTALL_DOC} + -install -m 644 iemhelp/*.pd $(INSTALL_DOC) + +install-abs: + -install -d ${INSTALL_BIN} + -install -m 644 iemabs/*.pd $(INSTALL_BIN) + |