aboutsummaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2007-02-07 11:57:12 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2007-02-07 11:57:12 +0000
commit089c4b075e3102f46bf82d80ed46e6d5528c66a5 (patch)
treeac74e07622ab7eafc773f705123c9b6cf8ceeb34 /src/makefile
parent59fae9c3a6fe405f9b1448e23449581fe3ba9795 (diff)
added "-fPIC" for compiling on amd64-platforms;
made PDSOURCE local svn path=/trunk/externals/iem/iemgui/; revision=7408
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/makefile b/src/makefile
index 6b77283..dbeff09 100644
--- a/src/makefile
+++ b/src/makefile
@@ -2,7 +2,9 @@ current: all
.SUFFIXES: .pd_linux
-INCLUDE = -I. -I/usr/local/src/pd/src
+PDSOURCE = /usr/local/src/pd/src
+
+INCLUDE = -I. -I${PDSOURCE}
LDFLAGS = -export-dynamic -shared
LIB = -ldl -lm -lpthread
@@ -10,7 +12,7 @@ LIB = -ldl -lm -lpthread
#select either the DBG and OPT compiler flags below:
CFLAGS = -DPD -DUNIX -W -Werror -Wno-unused \
- -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing \
+ -Wno-parentheses -Wno-switch -O6 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing -fPIC \
-DDL_OPEN
SYSTEM = $(shell uname -m)