From aeb928eebc66aa716cb53aac682e4a331ed8198f Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 14 May 2010 02:48:03 +0000 Subject: first steps towards porting to template Makefile and debianizing, split up randomix.c into separete files for each objectclass, much left to do svn path=/trunk/; revision=13540 --- externals/Makefile | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) (limited to 'externals/Makefile') diff --git a/externals/Makefile b/externals/Makefile index a31577ae..43752a55 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -412,30 +412,14 @@ creb_clean: #------------------------------------------------------------------------------# # CXC -CXC_NAME=cxc -CXC_OBJECTS := $(wildcard $(externals_src)/cxc/???*.c) -cxc: $(CXC_OBJECTS:.c=.$(EXTENSION)) - -cxc_install: cxc - install -d $(DESTDIR)$(objectsdir)/$(CXC_NAME) - $(scripts_src)/generate-libdir-metafile.sh $(DESTDIR)$(objectsdir) $(CXC_NAME) \ - --author "jdl@xdv.org" \ - --description "" \ - --license "" \ - --version "" - install -p $(CXC_OBJECTS:.c=.$(EXTENSION)) $(DESTDIR)$(objectsdir)/$(CXC_NAME) - install -p $(wildcard $(externals_src)/cxc/reference/*.pd) \ - $(DESTDIR)$(objectsdir)/$(CXC_NAME) -# install -d $(DESTDIR)$(manualsdir)/$(CXC_NAME) - install -d $(DESTDIR)$(readmesdir) - install -p $(externals_src)/cxc/README \ - $(DESTDIR)$(readmesdir)/$(CXC_NAME).txt +cxc: + make -C $(externals_src)/cxc + +cxc_install: + make -C $(externals_src)/cxc DESTDIR="$(DESTDIR)" objectsdir="$(objectsdir)" install cxc_clean: - -rm -f -- $(CXC_OBJECTS:.c=.$(EXTENSION)) - -rm -f -- $(externals_src)/cxc/*.o - -rm -f -- $(externals_src)/cxc/*.bak - -rm -f -- $(externals_src)/cxc/*.*~ + make -C $(externals_src)/cxc clean #------------------------------------------------------------------------------# -- cgit v1.2.1