From 089c4b075e3102f46bf82d80ed46e6d5528c66a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 7 Feb 2007 11:57:12 +0000 Subject: added "-fPIC" for compiling on amd64-platforms; made PDSOURCE local svn path=/trunk/externals/iem/iemgui/; revision=7408 --- src/makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') 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) -- cgit v1.2.1