[Swift-commit] r8155 - SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/md-src

wozniak at ci.uchicago.edu wozniak at ci.uchicago.edu
Wed Aug 13 16:57:14 CDT 2014


Author: wozniak
Date: 2014-08-13 16:57:14 -0500 (Wed, 13 Aug 2014)
New Revision: 8155

Modified:
   SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/md-src/Makefile
Log:
Fix path for Cetus


Modified: SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/md-src/Makefile
===================================================================
--- SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/md-src/Makefile	2014-08-13 21:55:28 UTC (rev 8154)
+++ SwiftTutorials/ATPESC_2014-08-14/swift-t/examples/md-src/Makefile	2014-08-13 21:57:14 UTC (rev 8155)
@@ -9,8 +9,6 @@
 SRC = main.c md.c 
 OBJ = $(patsubst %.c,%.o,$(SRC))
 
-
-
 all: $(bin)
 
 # Link stand-alone executable: 
@@ -22,9 +20,13 @@
 USE_SWIFT = 1
 ifeq ($(USE_SWIFT),1)
 
-TCL_HOME = $(HOME)/sfw/tcl-8.6.0
+# TCL_HOME = $(HOME)/sfw/tcl-8.6.0
+# TCL_VERSION = 8.6
+TCL_HOME = /home/wozniak/Public/sfw/ppc64/bgxlc/dynamic/tcl-8.5.12
+TCL_VERSION = 8.5
+TCLSH = $(TCL_HOME)/bin/tclsh$(TCL_VERSION)
+
 INCLUDES += -I $(TCL_HOME)/include
-TCLSH = $(TCL_HOME)/bin/tclsh8.6
 
 swift-pkg: pkgIndex.tcl
 
@@ -33,7 +35,7 @@
 	sed -i s/Md_Init/Tclmd_Init/ $(@)
 
 libtclmd.so: md_wrap.o $(OBJ)
-	gcc -shared -o $(@) $(^) -L $(TCL_HOME)/lib -l tcl8.6 
+	gcc -shared -o $(@) $(^) -L $(TCL_HOME)/lib -l tcl$(TCL_VERSION)
 
 pkgIndex.tcl: libtclmd.so
 	LEAF_PKG=md LEAF_VERSION=0.0 \




More information about the Swift-commit mailing list