aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorN.N. <krzyszcz@users.sourceforge.net>2004-02-19 22:23:18 +0000
committerN.N. <krzyszcz@users.sourceforge.net>2004-02-19 22:23:18 +0000
commitd0f6986345970955d6390a6953c35babf587c262 (patch)
treeb9c55d804a317558da506f9655ff495856ef47d8 /Makefile.common
parentd405128358369b5b7424c086c67345d12edfde7d (diff)
many small improvements in toxy, plustot added
svn path=/trunk/externals/miXed/; revision=1321
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index fcdfbed..46bdc38 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -1,6 +1,9 @@
# next line has to be edited manually
PD_DIR = $(ROOT_DIR)/../../pd/src
+# FIXME
+TCL_LIB = -l`grep -osm1 'tcl8\.[345]' $(PD_DIR)/makefile`
+
OS_NAME = $(shell uname -s)
ifneq ($(OS_NAME),Linux)
ifneq ($(OS_NAME),Darwin)
@@ -86,7 +89,7 @@ TYPES_RULE = $(foreach fn,$(call TYPES_EXTERNS,$1),$(OUT_DIR)/$(fn)): \
$(OUT_DIR)/%$($1_TILDE).$(X_SUFFIX) \
: $(call TYPES_DIR,$1)%.o $($1_PRIVATEOBJECTS) \
$(foreach obj,$($1_OBJECTS),$(SHARED_DIR)/$(obj)) \
- ; $(CC) -o $$@ $(CFLAGS) $(LFLAGS) $$+
+ ; $(CC) -o $$@ $(CFLAGS) $(LFLAGS) $($1_LIBS) $$+
# LATER find a better way...
$(if $(word 1,$(TYPES)),$(call TYPES_RULE,$(word 1,$(TYPES))))