diff options
Diffstat (limited to 'src/makefile_linux')
-rw-r--r-- | src/makefile_linux | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/makefile_linux b/src/makefile_linux index 2bf5f36..f96e56d 100644 --- a/src/makefile_linux +++ b/src/makefile_linux @@ -2,15 +2,17 @@ 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 #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 \ +CFLAGS = -DPD -DUNIX \ + -W -Wno-unused -Wno-parentheses -Wno-switch \ + -O6 -funroll-loops -fomit-frame-pointer -fno-strict-aliasing \ -DDL_OPEN -fPIC SYSTEM = $(shell uname -m) |