From 59a9567472dfdad14892a938fd6f2a8409fc5600 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 23 Jan 2013 16:52:13 +0000 Subject: make cyclone's build system also use PD_INCLUDE like the template svn path=/trunk/externals/miXed/; revision=16980 --- cyclone/Makefile.libdir | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cyclone') diff --git a/cyclone/Makefile.libdir b/cyclone/Makefile.libdir index 9b6d756..f522077 100644 --- a/cyclone/Makefile.libdir +++ b/cyclone/Makefile.libdir @@ -12,6 +12,9 @@ INSTALL_PROGRAM = $(INSTALL) -p -m 755 INSTALL_DATA = $(INSTALL) -p -m 644 INSTALL_DIR = $(INSTALL) -p -m 755 -d +CFLAGS += -I"$(PD_INCLUDE)" +PD_INCLUDE = $(PD_PATH)/include/pd + UNAME := $(shell uname -s) ifeq ($(UNAME),Darwin) CPU := $(shell uname -p) @@ -112,7 +115,7 @@ ifeq (MINGW,$(findstring MINGW,$(UNAME))) endif cyclone: - $(MAKE) -f Makefile \ + $(MAKE) -f Makefile PD_INCLUDE="$(PD_INCLUDE)" \ OPT_CFLAGS="-O6 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -Wstrict-aliasing=2 -fPIC" install: cyclone -- cgit v1.2.1