diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-02-05 22:04:55 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-02-05 22:04:55 +0000 |
commit | 2d7fc82de6a5671323b6d036a13d5061bb146790 (patch) | |
tree | b155dd787e53398be151e717639bb4ce82ac2fb1 | |
parent | b5617ce1bf2361f38712ba130bc87d04c752d931 (diff) |
added more robust test for Tcl version so that you can have Tcl/Tk 8.5 installed (for running Pd-devel) yet still build against Tcl/Tk 8.4 (for all other Pd versions)
svn path=/trunk/externals/tclpd/; revision=10743
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ #!/usr/bin/make -TCL_VERSION := $(shell echo 'puts $$tcl_version' | tclsh) +TCL_VERSION := 8.$(shell ls -1d /usr/include/tcl8.? | cut -d . -f 2) 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) |