[MLton-commit] r5759

Vesa Karvonen vesak at mlton.org
Wed Jul 11 07:33:22 PDT 2007


Give path to (mltonlib) root explicitly.
----------------------------------------------------------------------

U   mltonlib/trunk/org/mlton/vesak/toys/chameneos/async/Makefile
U   mltonlib/trunk/org/mlton/vesak/toys/cheap-concurrency/async/Makefile
U   mltonlib/trunk/org/mlton/vesak/toys/common.mk

----------------------------------------------------------------------

Modified: mltonlib/trunk/org/mlton/vesak/toys/chameneos/async/Makefile
===================================================================
--- mltonlib/trunk/org/mlton/vesak/toys/chameneos/async/Makefile	2007-07-11 11:50:21 UTC (rev 5758)
+++ mltonlib/trunk/org/mlton/vesak/toys/chameneos/async/Makefile	2007-07-11 14:33:21 UTC (rev 5759)
@@ -6,4 +6,6 @@
 name := chameneos
 args := 5000000
 
+root := ../../../../../..
+
 include ../../common.mk

Modified: mltonlib/trunk/org/mlton/vesak/toys/cheap-concurrency/async/Makefile
===================================================================
--- mltonlib/trunk/org/mlton/vesak/toys/cheap-concurrency/async/Makefile	2007-07-11 11:50:21 UTC (rev 5758)
+++ mltonlib/trunk/org/mlton/vesak/toys/cheap-concurrency/async/Makefile	2007-07-11 14:33:21 UTC (rev 5759)
@@ -6,4 +6,6 @@
 name := cheap-concurrency
 args := 15000
 
+root := ../../../../../..
+
 include ../../common.mk

Modified: mltonlib/trunk/org/mlton/vesak/toys/common.mk
===================================================================
--- mltonlib/trunk/org/mlton/vesak/toys/common.mk	2007-07-11 11:50:21 UTC (rev 5758)
+++ mltonlib/trunk/org/mlton/vesak/toys/common.mk	2007-07-11 14:33:21 UTC (rev 5759)
@@ -42,7 +42,7 @@
 
 $(mlb-path-map) : Makefile
 	mkdir -p $(@D)
-	echo 'MLTON_LIB $(shell cd ../../../../../.. && pwd)' > $@
+	echo 'MLTON_LIB $(shell cd $(root) && pwd)' > $@
 	echo 'SML_COMPILER mlton' >> $@
 
 $(exe) : $(name).mlb $(mlb-path-map)




More information about the MLton-commit mailing list