aboutsummaryrefslogtreecommitdiff
path: root/externals/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-11-11 06:13:38 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-11-11 06:13:38 +0000
commitae1150146f8873500b6cf1fd242a11a605164a1c (patch)
tree07b7b73440f8f46f1120a23a50b5a0e521093ffb /externals/Makefile
parentbf6f39479e1737c87538b25f088e695b1f848a7d (diff)
copied over template Makefile and got things building from it
svn path=/trunk/; revision=14394
Diffstat (limited to 'externals/Makefile')
-rw-r--r--externals/Makefile35
1 files changed, 6 insertions, 29 deletions
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
#------------------------------------------------------------------------------#