diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-04-03 20:24:12 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-04-03 20:24:12 +0000 |
commit | ed4cf31945c4c73757eba761887d5f4ddec86976 (patch) | |
tree | f59ba81ae5c7cc9fdce134dd3f6829042ac6250b | |
parent | 7bb3eb4485d424e5ae99a6a7b2d5a46dffb6bb1c (diff) |
converted to template Makefile
svn path=/trunk/; revision=13366
-rw-r--r-- | externals/Makefile | 28 |
1 files changed, 6 insertions, 22 deletions
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 |