From ae1150146f8873500b6cf1fd242a11a605164a1c Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 11 Nov 2010 06:13:38 +0000 Subject: copied over template Makefile and got things building from it svn path=/trunk/; revision=14394 --- externals/Makefile | 35 ++++++----------------------------- 1 file changed, 6 insertions(+), 29 deletions(-) (limited to 'externals/Makefile') diff --git a/externals/Makefile b/externals/Makefile index 6b10af30..891e3382 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -632,37 +632,14 @@ gem2pdp_clean: #------------------------------------------------------------------------------# # GGEE -GGEE_NAME=ggee -# experimental needs C++ and tools is command line, so exclude -GGEE_OBJECTS := $(wildcard $(externals_src)/ggee/[a-df-su-z]*/*.c) -ggee: $(GGEE_OBJECTS:.c=.$(EXTENSION)) - -ggee_install: ggee - install -d $(DESTDIR)$(objectsdir)/$(GGEE_NAME) - $(scripts_src)/generate-libdir-metafile.sh $(DESTDIR)$(objectsdir) $(GGEE_NAME) \ - --author "Guenter Geiger" \ - --description "" \ - --license "BSD" \ - --version "0.25" - install -p $(GGEE_OBJECTS:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(GGEE_NAME) - install -p $(shell ls -1 $(externals_src)/vbap/*.pd | grep -v '-help.pd') \ - $(DESTDIR)$(objectsdir)/$(GGEE_NAME) - install -p $(externals_src)/ggee/*/*-help.pd \ - $(externals_src)/ggee/*/*.gif $(DESTDIR)$(objectsdir)/$(GGEE_NAME) -# install -d $(DESTDIR)$(manualsdir)/$(GGEE_NAME) -# install -p $(externals_src)/ggee/manual.txt \ -# $(DESTDIR)$(manualsdir)/$(GGEE_NAME) -# install -p $(externals_src)/ggee/README \ -# $(DESTDIR)$(readmesdir)/$(GGEE_NAME).txt -# install -d $(DESTDIR)$(examplesdir)/$(GGEE_NAME) -# install -p $(externals_src)/ggee/examples/*.pd \ -# $(DESTDIR)$(examplesdir)/$(GGEE_NAME) +ggee: + make -C $(externals_src)/ggee PD_PATH=$(pd_src) PD_INCLUDE=$(pd_src)/src + +ggee_install: + make -C $(externals_src)/ggee DESTDIR="$(DESTDIR)" objectsdir="$(objectsdir)" install ggee_clean: - -rm -f -- $(GGEE_OBJECTS:.c=.$(EXTENSION)) - -rm -f -- $(GGEE_OBJECTS:.c=.o) - -rm -f -- $(externals_src)/ggee/*.bak - -rm -f -- $(externals_src)/ggee/*.*~ + make -C $(externals_src)/ggee clean #------------------------------------------------------------------------------# -- cgit v1.2.1