[MLton-commit] r6666
Vesa Karvonen
vesak at mlton.org
Tue Jul 1 17:03:06 PDT 2008
Added the APPLICATION mlb-path-var. Also added line info to mlprof output.
----------------------------------------------------------------------
U mltonlib/trunk/org/mlton/vesak/toys/common.mk
----------------------------------------------------------------------
Modified: mltonlib/trunk/org/mlton/vesak/toys/common.mk
===================================================================
--- mltonlib/trunk/org/mlton/vesak/toys/common.mk 2008-07-01 22:20:02 UTC (rev 6665)
+++ mltonlib/trunk/org/mlton/vesak/toys/common.mk 2008-07-02 00:03:06 UTC (rev 6666)
@@ -33,7 +33,7 @@
run : $(exe)
bash -c 'time $(exe) @MLton gc-summary -- $(args)'
- bash -c 'if test mlmon.out -nt $(exe) ; then mlprof $(exe) mlmon.out ; fi'
+ bash -c 'if test mlmon.out -nt $(exe) ; then mlprof -show-line true $(exe) mlmon.out ; fi'
##########################################################################
@@ -41,6 +41,7 @@
mkdir -p $(@D)
echo 'MLTON_LIB $(shell cd $(root) && pwd)' > $@
echo 'SML_COMPILER mlton' >> $@
+ echo 'APPLICATION $(shell pwd)/app' >> $@
$(exe) : $(name).mlb $(mlb-path-map)
mlton -stop f -mlb-path-map $(mlb-path-map) $< \
More information about the MLton-commit
mailing list