aboutsummaryrefslogtreecommitdiff
path: root/externals/grill
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill')
-rw-r--r--externals/grill/fftease/makefile.pd-linux9
-rw-r--r--externals/grill/flext/config-pd-linux.txt4
-rw-r--r--externals/grill/flext/makefile.pd-linux28
-rw-r--r--externals/grill/flext/readme.txt3
-rw-r--r--externals/grill/vasp/makefile.pd-linux5
5 files changed, 27 insertions, 22 deletions
diff --git a/externals/grill/fftease/makefile.pd-linux b/externals/grill/fftease/makefile.pd-linux
index 546cf342..c6a99338 100644
--- a/externals/grill/fftease/makefile.pd-linux
+++ b/externals/grill/fftease/makefile.pd-linux
@@ -24,8 +24,8 @@ FLEXTLIB=$(FLEXTPATH)/flext.a
# compiler+linker stuff
INCLUDES=$(PDPATH)
LIBPATH=
-FLAGS=-DPD
-CFLAGS=-O6 -mcpu=pentiumpro
+FLAGS=-DFLEXT_SYS=2 -fno-exceptions -fno-rtti ${UFLAGS}
+CFLAGS=-O6
#CFLAGS=-g
LIBS=m util
@@ -39,13 +39,14 @@ NAME=fftease
# all the source files from the package
include make-files.txt
+MAKEFILE=makefile.pd-linux
TARGET=$(TARGDIR)/$(NAME).pd_linux
DIR=src
# default target
all: $(TARGDIR) $(TARGET)
-$(patsubst %,$(DIR)/%,$(SRCS)): $(patsubst %,$(DIR)/%,$(HDRS)) $(FLEXTLIB) $(CONFIG)
+$(patsubst %,$(DIR)/%,$(SRCS)): $(patsubst %,$(DIR)/%,$(HDRS)) $(FLEXTLIB) $(MAKEFILE) $(CONFIG)
touch $@
$(TARGDIR):
@@ -58,7 +59,7 @@ $(TARGDIR)/%.co : $(DIR)/%.c
$(CC) -c $(CFLAGS) $(FLAGS) $(patsubst %,-I%,$(INCLUDES) $(FLEXTPATH)) $< -o $@
$(TARGET) : $(patsubst %.c,$(TARGDIR)/%.co,$(patsubst %.cpp,$(TARGDIR)/%.o,$(SRCS))) $(FLEXTLIB)
- $(CXX) -shared $^ $(patsubst %,-L%,$(LIBPATH)) $(patsubst %,-l%,$(LIBS)) -o $@
+ $(CXX) -shared $^ -Wl,-s $(patsubst %,-L%,$(LIBPATH)) $(patsubst %,-l%,$(LIBS)) -o $@
chmod 755 $@
$(INSTPATH):
diff --git a/externals/grill/flext/config-pd-linux.txt b/externals/grill/flext/config-pd-linux.txt
index ad27fc35..39ad5717 100644
--- a/externals/grill/flext/config-pd-linux.txt
+++ b/externals/grill/flext/config-pd-linux.txt
@@ -27,5 +27,5 @@ INSTDIR=/usr/local/lib/pd/flext
# additional compiler flags
# (check if they fit for your system!)
-UFLAGS= -mcpu=pentiumpro # gcc 2.95
-# UFLAGS= -mcpu=pentium3 -msse # gcc 3.2
+UFLAGS=-mcpu=pentiumpro # gcc 2.95
+# UFLAGS=-mcpu=pentium3 -msse # gcc 3.2
diff --git a/externals/grill/flext/makefile.pd-linux b/externals/grill/flext/makefile.pd-linux
index d1af3dc8..49444440 100644
--- a/externals/grill/flext/makefile.pd-linux
+++ b/externals/grill/flext/makefile.pd-linux
@@ -10,16 +10,16 @@
CONFIG=config-pd-linux.txt
-include $(CONFIG)
+include ${CONFIG}
# compiler+linker stuff
-INCLUDES=$(PDPATH)
+INCLUDES=${PDPATH}
# general compiler flags
-FLAGS=-DFLEXT_SYS=2 -fno-exceptions $(UFLAGS)
+FLAGS=-DFLEXT_SYS=2 -fno-exceptions ${UFLAGS}
# compiler flags for optimized build
-CFLAGS= -O6
+CFLAGS=-O6
# compiler flags for debug build
CFLAGS_D=-g
@@ -41,22 +41,22 @@ SRCDIR=source
include make-files.txt
ifdef SNDOBJ
-INCLUDES+=$(SNDOBJ)
-SRCS+=$(SRCS_SNDOBJ)
-HDRS+=$(HDRS_SNDOBJ)
+INCLUDES+=${SNDOBJ}
+SRCS+=${SRCS_SNDOBJ}
+HDRS+=${HDRS_SNDOBJ}
endif
ifdef STK
-INCLUDES+=$(STK)
-SRCS+=$(SRCS_STK)
-HDRS+=$(HDRS_STK)
+INCLUDES+=${STK}
+SRCS+=${SRCS_STK}
+HDRS+=${HDRS_STK}
endif
MAKEFILE=makefile.pd-linux
-TARGET=$(TARGDIR)/$(NAME).a
-TARGET_D=$(TARGDIR)/$(NAME)_d.a
-TARGET_T=$(TARGDIR)/$(NAME)_t.a
-TARGET_TD=$(TARGDIR)/$(NAME)_td.a
+TARGET=${TARGDIR}/${NAME}.a
+TARGET_D=${TARGDIR}/${NAME}_d.a
+TARGET_T=${TARGDIR}/${NAME}_t.a
+TARGET_TD=${TARGDIR}/${NAME}_td.a
all: $(TARGDIR) $(TARGET) $(TARGET_D) $(TARGET_T) $(TARGET_TD)
diff --git a/externals/grill/flext/readme.txt b/externals/grill/flext/readme.txt
index 9bf15a4a..587bc57b 100644
--- a/externals/grill/flext/readme.txt
+++ b/externals/grill/flext/readme.txt
@@ -329,6 +329,9 @@ tests:
- what about FLEXT_ADDMETHOD_V (for var arg lists) and FLEXT_ADDMETHOD_A (anythings)... nonsense?
-> yes, these definitions obscure the meaning of _ as an indication for usage of a message tag
+- check whether m_dsp gets called upon deletion of a used buffer (PD and MaxMSP may behave differently).
+
+
features:
- abstraction for clock functions
- manage running threads individually (stop, isrunning?, priority etc.)
diff --git a/externals/grill/vasp/makefile.pd-linux b/externals/grill/vasp/makefile.pd-linux
index 530bc235..a76cdbaa 100644
--- a/externals/grill/vasp/makefile.pd-linux
+++ b/externals/grill/vasp/makefile.pd-linux
@@ -15,9 +15,10 @@ FLEXTLIB=$(FLEXTPATH)/flext_t.a
# compiler stuff
INCLUDES=$(PDINC)
-FLAGS=-DFLEXT_SYS=2 -DFLEXT_THREADS
+FLAGS=-DFLEXT_SYS=2 -DFLEXT_THREADS -fno-exceptions
CFLAGS=-O6 -mcpu=pentiumpro -fmove-all-movables -frerun-loop-opt -finline-functions # -funroll-loops
#CFLAGS=-O6 -mcpu=pentium3 -msse -mfpmath=sse -fmove-all-movables -frerun-loop-opt -finline-functions # -funroll-loops
+LDFLAGS=-Wl,-s
LIBS=m
@@ -37,7 +38,7 @@ TARGET=$(TARGDIR)/$(NAME).pd_linux
# default target
all: $(TARGDIR) $(TARGET)
-$(patsubst %,$(SRCDIR)/%,$(SRCS)): $(patsubst %,$(SRCDIR)/%,$(HDRS)) # $(MAKEFILE)
+$(patsubst %,$(SRCDIR)/%,$(SRCS)): $(patsubst %,$(SRCDIR)/%,$(HDRS)) $(MAKEFILE)
touch $(patsubst %,$(SRCDIR)/%,$(SRCS))
$(TARGDIR):