aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/iem_mp3/makefile14
-rw-r--r--src/iem_t3_lib/makefile14
2 files changed, 4 insertions, 24 deletions
diff --git a/src/iem_mp3/makefile b/src/iem_mp3/makefile
index 71abad5..955e508 100644
--- a/src/iem_mp3/makefile
+++ b/src/iem_mp3/makefile
@@ -1,19 +1,9 @@
current: all
.SUFFIXES: .pd_linux
+include ../../Make.include
-INCLUDE = -I. -I/usr/local/src/pd-0.37-4/src
-
-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 \
- -DDL_OPEN -fPIC
-
-SYSTEM = $(shell uname -m)
+INCLUDE = -I. -I$(PDSOURCE)
# the sources
diff --git a/src/iem_t3_lib/makefile b/src/iem_t3_lib/makefile
index f9da63f..2e5cd8b 100644
--- a/src/iem_t3_lib/makefile
+++ b/src/iem_t3_lib/makefile
@@ -1,19 +1,9 @@
current: all
.SUFFIXES: .pd_linux
+include ../../Make.include
-INCLUDE = -I. -I/usr/local/src/pd-0.37-4/src
-
-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 \
- -DDL_OPEN -fPIC
-
-SYSTEM = $(shell uname -m)
+INCLUDE = -I. -I$(PDSOURCE)
# the sources