summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbustico2016-09-07 16:08:30 +0000
committerbustico2016-09-07 16:08:30 +0000
commit5ccd379fab7f18f7b2850f2bbfafacb528936932 (patch)
treef6a951696db7a9c406c22fab7e1bd8e036f6cc34
parent8e6e53b7131ca9990fad8e9aacd99c6c3e479a6f (diff)
downloadivy-c-5ccd379fab7f18f7b2850f2bbfafacb528936932.zip
ivy-c-5ccd379fab7f18f7b2850f2bbfafacb528936932.tar.gz
ivy-c-5ccd379fab7f18f7b2850f2bbfafacb528936932.tar.bz2
ivy-c-5ccd379fab7f18f7b2850f2bbfafacb528936932.tar.xz
° better guess of TCLVERS on ubuntu systems
° remove -DDEBUG on ivytcl library to avoid spurious messages in console
-rw-r--r--src/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 2f2e2dc..f09c85d 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -52,6 +52,9 @@ ifndef TCLVERS
TCLVERS:= $(shell perl -e '@_=sort map (m|/usr/lib64/libtcl(\d\.\d)\.so|, glob ("/usr/lib64/libtcl*")); print pop @_')
endif
ifndef TCLVERS
+TCLVERS:= $(shell perl -e '@_=sort map (m|/usr/lib/tcl(\d\.\d)|, glob ("/usr/lib/tcl*")); print pop @_')
+endif
+ifndef TCLVERS
#TCLVERS=8.4
TCLVERS=
endif
@@ -159,7 +162,7 @@ ivytcl.o: ivytcl.c
$(CC) -c $(CFLAGS) $(TCLINCL) $(CHANNEL) ivytcl.c
givy.o: ivy.c
- $(CC) -c $(CFLAGS) -DDEBUG -o givy.o ivy.c
+ $(CC) -c $(CFLAGS) -o givy.o ivy.c
ivy_omp.o: ivy.c
$(CC) -c $(OMPCFLAGS) -o ivy_omp.o ivy.c