diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-06-06 11:37:14 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-06-06 11:37:14 +0000 |
commit | 6c87994a6c91d7a578dc329f3dd5484aa34e0f0b (patch) | |
tree | f676ae966eab515e802799798b5b62f5604f6fe0 /Makefile | |
parent | c11b0ac4e9c8efdbd10085de43118b9227925607 (diff) |
added a common Makefile that builds all the sub-libraries
svn path=/trunk/externals/iemlib/; revision=3117
Diffstat (limited to 'Makefile')
-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) + |