From 3a2b76773aede2019ae526360508b9afc8c24060 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Mon, 24 Jan 2011 17:42:27 +0000 Subject: PD_SRC (argh, this makefile is so broken) svn path=/trunk/externals/iem/mediasettings/; revision=14810 --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 01c54a7..81d0cbf 100644 --- a/Makefile +++ b/Makefile @@ -36,6 +36,7 @@ LIBRARY_VERSION = $(shell sed -n 's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \( # where Pd lives PD_PATH = ../../pd +PD_SRC = $(PD_PATH)/src # where to install the library prefix = /usr/local libdir = $(prefix)/lib @@ -47,7 +48,7 @@ INSTALL = install INSTALL_FILE = $(INSTALL) -p -m 644 INSTALL_DIR = $(INSTALL) -p -m 755 -d -CFLAGS = -DPD -I$(PD_PATH)/src -I$(prefix)/include/pd -Wall -W -g -DHAVE_SYS_CLOSE_AUDIO -DHAVE_SYS_CLOSE_MIDI +CFLAGS = -DPD -I$(PD_SRC) -I$(prefix)/include/pd -Wall -W -g -DHAVE_SYS_CLOSE_AUDIO -DHAVE_SYS_CLOSE_MIDI LDFLAGS = LIBS = ALLSOURCES := $(SOURCES) -- cgit v1.2.1