From 750e8c9e036a21e58d768908392b61e8e2a895d5 Mon Sep 17 00:00:00 2001 From: musil Date: Thu, 4 Jul 2013 14:29:45 +0000 Subject: iemlib.h now in include folder parallel to library folder, change of makefiles svn path=/trunk/externals/iemlib/; revision=17177 --- Make.include | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Make.include') diff --git a/Make.include b/Make.include index 20ef9b0..aaca607 100644 --- a/Make.include +++ b/Make.include @@ -6,6 +6,9 @@ PD_DEFINES = -DPD -DUNIX # path to private Pd-headers PDSOURCE ?= /usr/local/src/pd/src +# path to iemlib.h +IEMLIB_INCLUDE = ../../include + #define to true if private Pd-header g_canvas.h is in out search-path PD_DEFINES += -DHAVE_G_CANVAS_H ################################# @@ -26,11 +29,11 @@ DBG_CFLAGS=-W -Wno-parentheses -Wno-switch -Wno-unused CFLAGS=-O6 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing PD_CFLAGS = $(PD_DEFINES) -fPIC -fno-stack-protector $(DBG_CFLAGS) $(CFLAGS) -PD_INCLUDE = -I. -I$(PDSOURCE) -I../../../../pd/src +PD_INCLUDES = -I. -I$(IEMLIB_INCLUDE) -I$(PDSOURCE) -I../../../../pd/src # the sources -SRC = $(sort $(filter %.c, $(wildcard *.c))) - +#SRC = $(sort $(filter %.c, $(wildcard *.c))) + OBJ = $(SRC:.c=.o) # @@ -49,5 +52,5 @@ all: $(OBJ) $(OBJ) : %.o : %.c touch $*.c - $(CC) $(PD_CFLAGS) $(PD_INCLUDE) -c -o $*.o $*.c + $(CC) $(PD_CFLAGS) $(PD_INCLUDES) -c -o $*.o $*.c -- cgit v1.2.1