diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-04-01 12:54:29 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-04-01 12:54:29 +0000 |
commit | 59ff0bd81d2554cf7872f3f4951129fb11b325ee (patch) | |
tree | d223612de999aa5f25f19d9aef546009a850805e | |
parent | 552557b97ebac415f31c87ba5d8af621e2d4de6f (diff) |
ported earplug build to template Makefile
svn path=/trunk/; revision=13350
-rw-r--r-- | externals/Makefile | 30 |
1 files changed, 6 insertions, 24 deletions
diff --git a/externals/Makefile b/externals/Makefile index 70bbbf5b..648e545a 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -2917,32 +2917,14 @@ iemxmlrpc_clean: #------------------------------------------------------------------------------# # EARPLUG -EARPLUG_NAME=earplug~ -EARPLUG_OBJECTS := $(wildcard $(externals_src)/earplug~/*.c) -earplug: $(EARPLUG_OBJECTS:.c=.$(EXTENSION)) - -earplug_install: earplug - install -d $(DESTDIR)$(objectsdir)/$(EARPLUG_NAME) - $(scripts_src)/generate-libdir-metafile.sh $(DESTDIR)$(objectsdir) $(EARPLUG_NAME) \ - --author "Pei Xiang" \ - --description "filters for binaural audio spatialization, based on KEMAR impulse measurement" \ - --license "" \ - --version "" - install -p $(EARPLUG_OBJECTS:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(EARPLUG_NAME) - install -p $(externals_src)/earplug~/earplug_data.txt $(DESTDIR)$(objectsdir)/$(EARPLUG_NAME) - install -d $(DESTDIR)$(helpdir)/$(EARPLUG_NAME) - install -p $(externals_src)/earplug~/*-help.pd \ - $(externals_src)/earplug~/*.txt \ - $(DESTDIR)$(helpdir)/$(EARPLUG_NAME) - install -p $(externals_src)/earplug~/*-help.pd \ - $(externals_src)/earplug~/*.txt \ - $(DESTDIR)$(objectsdir)/$(EARPLUG_NAME) +earplug: + make -C $(externals_src)/earplug~ + +earplug_install: + make -C $(externals_src)/earplug~ DESTDIR="$(DESTDIR)" objectsdir="$(objectsdir)" install earplug_clean: - -rm -f -- $(EARPLUG_OBJECTS:.c=.$(EXTENSION)) - -rm -f -- $(EARPLUG_OBJECTS:.c=.o) - -rm -f -- $(externals_src)/earplug~/*.bak - -rm -f -- $(externals_src)/earplug~/*.*~ + make -C $(externals_src)/earplug~ clean |