diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2011-02-09 17:17:49 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2011-02-09 17:17:49 +0000 |
commit | c3ca7b1bdc3a236590b80c0f2f51fd330e85a6b0 (patch) | |
tree | b6ce0739ba35c6e5b2b631e9f4e11f96132c7063 | |
parent | 9586eeeff8e2650612bfec5468afd944c711069c (diff) |
split PD_CFLAGS and PD_DEFINES
svn path=/trunk/externals/iemlib/; revision=14889
-rw-r--r-- | Make.include | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Make.include b/Make.include index 1dbbd7e..20ef9b0 100644 --- a/Make.include +++ b/Make.include @@ -1,7 +1,16 @@ current: all +PD_DEFINES = -DPD -DUNIX + +################################# +# path to private Pd-headers PDSOURCE ?= /usr/local/src/pd/src +#define to true if private Pd-header g_canvas.h is in out search-path +PD_DEFINES += -DHAVE_G_CANVAS_H +################################# + + .SUFFIXES: .pd_linux EXT = pd_linux @@ -15,7 +24,7 @@ PD_LIB = -lm -lc $(LIB) DBG_CFLAGS=-W -Wno-parentheses -Wno-switch -Wno-unused CFLAGS=-O6 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -PD_CFLAGS = -DPD -DUNIX -DDL_OPEN -DHAVE_G_CANVAS_H -fPIC -fno-stack-protector $(DBG_CFLAGS) $(CFLAGS) +PD_CFLAGS = $(PD_DEFINES) -fPIC -fno-stack-protector $(DBG_CFLAGS) $(CFLAGS) PD_INCLUDE = -I. -I$(PDSOURCE) -I../../../../pd/src |