From acc57856c6188d2f13b140c4fcdbbfd1852fce09 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Sat, 13 Jun 2009 15:55:29 +0000 Subject: removed my Tcl 8.4 kludge svn path=/trunk/externals/tclpd/; revision=11762 --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 57ecd8d..7395ed7 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,7 @@ #!/usr/bin/make -TCL_VERSION := $(shell (ls -1d /usr/include/tcl8.? | sed -n 's|.*/tcl\(8\.[0-9][0-9]*\).*|\1|p') || echo "") -TCL_INCLUDES := -I$(shell find /usr/include -name tcl.h | grep -v private | sed 's|/tcl.h$$||') -INCLUDES = -I../../pd/src -I/usr/include $(TCL_INCLUDES) +TCL_VERSION := $(shell echo 'puts $$tcl_version' | tclsh) +INCLUDES = -I../../pd/src -I/usr/include -I/usr/include/tcl$(TCL_VERSION) CFLAGS += $(INCLUDES) -xc++ -funroll-loops -fno-operator-names -fno-omit-frame-pointer -falign-functions=16 -O2 -Wall -fPIC LDSOFLAGS += -lm -ltcl$(TCL_VERSION) CXX = g++ -- cgit v1.2.1