diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2006-09-25 12:00:42 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2006-09-25 12:00:42 +0000 |
commit | 7a5fc7713baf267008b5b9f998705f5af51fec46 (patch) | |
tree | 7fa4dd84be3c077f07b834f9b6df4a12b1aa5140 /externals | |
parent | 97716aa162b5a7f98a4e50a874765abb57d34df1 (diff) |
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
Diffstat (limited to 'externals')
-rw-r--r-- | externals/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
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) |