From ed4cf31945c4c73757eba761887d5f4ddec86976 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 3 Apr 2010 20:24:12 +0000 Subject: converted to template Makefile svn path=/trunk/; revision=13366 --- externals/Makefile | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) (limited to 'externals/Makefile') diff --git a/externals/Makefile b/externals/Makefile index eb879b1f..6aa992bd 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -1685,30 +1685,14 @@ pidip_clean: #------------------------------------------------------------------------------# # PMPD -PMPD_NAME=pmpd -PMPD_OBJECTS := $(wildcard $(externals_src)/pmpd/src/[a-oq-z]*.c) \ -$(externals_src)/pmpd/src/pmpd~.c -pmpd: $(PMPD_OBJECTS:.c=.$(EXTENSION)) - -pmpd_install: pmpd - install -d $(DESTDIR)$(objectsdir)/$(PMPD_NAME) - $(scripts_src)/generate-libdir-metafile.sh $(DESTDIR)$(objectsdir) $(PMPD_NAME) \ - --author "Cyrille Henry" \ - --description "Physical Modelling for Pd" - -install -p $(externals_src)/pmpd/*.$(EXTENSION) $(DESTDIR)$(objectsdir)/$(PMPD_NAME) - install -p $(externals_src)/pmpd/help/*.pd $(DESTDIR)$(objectsdir)/$(PMPD_NAME) - install -d $(DESTDIR)$(manualsdir)/$(PMPD_NAME) - install -p $(externals_src)/pmpd/doc/pmpd.pdf/pmpd.pdf \ - $(DESTDIR)$(manualsdir)/$(PMPD_NAME) - install -d $(DESTDIR)$(examplesdir)/$(PMPD_NAME) - install -p $(externals_src)/pmpd/exemples/*.pd \ - $(DESTDIR)$(examplesdir)/$(PMPD_NAME) +pmpd: + make -C $(externals_src)/pmpd + +pmpd_install: + make -C $(externals_src)/pmpd DESTDIR="$(DESTDIR)" objectsdir="$(objectsdir)" install pmpd_clean: - -rm -f -- $(PMPD_OBJECTS:.c=.$(EXTENSION)) - -rm -f -- $(externals_src)/pmpd/*/*.o - -rm -f -- $(externals_src)/pmpd/*/*.bak - -rm -f -- $(externals_src)/pmpd/*/*~ + make -C $(externals_src)/pmpd clean -- cgit v1.2.1