diff options
author | musil <tmusil@users.sourceforge.net> | 2013-07-04 14:29:45 +0000 |
---|---|---|
committer | musil <tmusil@users.sourceforge.net> | 2013-07-04 14:29:45 +0000 |
commit | 750e8c9e036a21e58d768908392b61e8e2a895d5 (patch) | |
tree | 5d9f740c37c648ef36262b273c959a1f43889fa4 /Make.include | |
parent | 04894a7f2ffb84b5b5d267e4692e3c93a106fa3e (diff) |
iemlib.h now in include folder parallel to library folder, change of makefiles
svn path=/trunk/externals/iemlib/; revision=17177
Diffstat (limited to 'Make.include')
-rw-r--r-- | Make.include | 11 |
1 files changed, 7 insertions, 4 deletions
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 |