From 7a5fc7713baf267008b5b9f998705f5af51fec46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 25 Sep 2006 12:00:42 +0000 Subject: removed the "-Wall" flag (there is NO use for this flag in a generic build system); build zexy using zexy's build system svn path=/trunk/; revision=6024 --- externals/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'externals/Makefile') diff --git a/externals/Makefile b/externals/Makefile index 5bc302be..bf8fabdf 100644 --- a/externals/Makefile +++ b/externals/Makefile @@ -41,7 +41,8 @@ DEST_PATHS = BUILDLAYOUT_DIR=$(BUILDLAYOUT_DIR) \ # this variable is to support old "win" directories, rather than "windows" BUILDSRC_OS_NAME = $(OS_NAME) -CFLAGS = -DPD $(OPT_CFLAGS) -I$(pd_src)/src -Wall -W $(DEBUG_CFLAGS) +#CFLAGS = -DPD $(OPT_CFLAGS) -I$(pd_src)/src -Wall -W $(DEBUG_CFLAGS) +CFLAGS = -DPD $(OPT_CFLAGS) -I$(pd_src)/src -W $(DEBUG_CFLAGS) LDFLAGS = LIBS = -lm @@ -1993,7 +1994,12 @@ ZEXY_OBJECTS := $(wildcard $(externals_src)/zexy/src/[a-y0]*.c $(externals_src)/ ZEXY_VERSION := $(shell grep VERSION $(externals_src)/zexy/src/zexy.h | \ grep -v _VERSION | cut -d ' ' -f 3 | cut -d '"' -f 2) -zexy: $(ZEXY_OBJECTS:.c=.$(EXTENSION)) +zexy_configure: + make -C $(externals_src)/zexy/src/ configure + cd $(externals_src)/zexy/src/ && ./configure --disable-library + +zexy: zexy_configure + make -C $(externals_src)/zexy/src/ zexy_install: zexy install -d $(objectsdir)/$(ZEXY_NAME) @@ -2002,7 +2008,8 @@ zexy_install: zexy --license "GNU GPL" \ --description "GUI and streaming objects" \ --version "$(ZEXY_VERSION)" - install -p $(ZEXY_OBJECTS:.c=.$(EXTENSION)) $(objectsdir)/$(ZEXY_NAME) +# install -p $(ZEXY_OBJECTS:.c=.$(EXTENSION)) $(objectsdir)/$(ZEXY_NAME) + install -p $(wildcard $(externals_src)/zexy/src/*.$(EXTENSION)) $(objectsdir)/$(ZEXY_NAME) install -p $(shell ls -1 $(externals_src)/zexy/abs/*.pd | \ grep -v '-help.pd' | sed 's|\(.*\)|"\1"|g') \ $(objectsdir)/$(ZEXY_NAME) -- cgit v1.2.1