From 5ccd379fab7f18f7b2850f2bbfafacb528936932 Mon Sep 17 00:00:00 2001 From: bustico Date: Wed, 7 Sep 2016 16:08:30 +0000 Subject: ° better guess of TCLVERS on ubuntu systems ° remove -DDEBUG on ivytcl library to avoid spurious messages in console --- src/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.1