aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/makefile.pd-linux
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-06-14 02:32:39 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-06-14 02:32:39 +0000
commitf81282808b0d9147fc0c980e418c56774d1f6735 (patch)
tree40f50ddfb01b1efce4a4a7189722ff85340b5eed /externals/grill/flext/makefile.pd-linux
parentc0c7359304c7bb54d794c74b260d9b0bd18f02ae (diff)
""
svn path=/trunk/; revision=702
Diffstat (limited to 'externals/grill/flext/makefile.pd-linux')
-rw-r--r--externals/grill/flext/makefile.pd-linux6
1 files changed, 4 insertions, 2 deletions
diff --git a/externals/grill/flext/makefile.pd-linux b/externals/grill/flext/makefile.pd-linux
index ad3238e9..8131f25a 100644
--- a/externals/grill/flext/makefile.pd-linux
+++ b/externals/grill/flext/makefile.pd-linux
@@ -47,12 +47,14 @@ ifdef SNDOBJ
INCLUDES+=${SNDOBJ}
SRCS+=${SRCS_SNDOBJ}
HDRS+=${HDRS_SNDOBJ}
+LIBS+=sndobj
endif
ifdef STK
INCLUDES+=${STK}
SRCS+=${SRCS_STK}
HDRS+=${HDRS_STK}
+LIBS+=stk
endif
MAKEFILE=makefile.pd-linux
@@ -117,11 +119,11 @@ $(TARGET_TD) : $(patsubst %.cpp,$(TARGDIR)/%.tdo,$(SRCS))
chmod 644 $@
$(TARGET_S) : $(patsubst %.cpp,$(TARGDIR)/%.sro,$(SRCS))
- ld -shared -Bdynamic --strip-debug -o $@ $^
+ ld -shared -Bdynamic --strip-debug $(patsubst %,-L%,$(LIBPATH)) $(patsubst %,-l%,$(LIBS)) -o $@ $^
chmod 755 $@
$(TARGET_SD) : $(patsubst %.cpp,$(TARGDIR)/%.sdo,$(SRCS))
- ld -shared -Bdynamic -o $@ $^
+ ld -shared -Bdynamic $(patsubst %,-L%,$(LIBPATH)) $(patsubst %,-l%,$(LIBS)) -o $@ $^
chmod 755 $@