[MLton-commit] r5267
Matthew Fluet
fluet at mlton.org
Mon Feb 19 14:35:21 PST 2007
Add -profile-val true to traced and debugged targets
----------------------------------------------------------------------
U mlton/trunk/Makefile
----------------------------------------------------------------------
Modified: mlton/trunk/Makefile
===================================================================
--- mlton/trunk/Makefile 2007-02-19 16:54:11 UTC (rev 5266)
+++ mlton/trunk/Makefile 2007-02-19 22:35:19 UTC (rev 5267)
@@ -234,7 +234,7 @@
.PHONY: traced
traced:
- $(MAKE) -C "$(COMP)" "AOUT=$(AOUT).trace" COMPILE_ARGS="-const 'Exn.keepHistory true' -const 'MLton.debug true' -drop-pass 'deepFlatten'"
+ $(MAKE) -C "$(COMP)" "AOUT=$(AOUT).trace" COMPILE_ARGS="-const 'Exn.keepHistory true' -profile-val true -const 'MLton.debug true' -drop-pass 'deepFlatten'"
$(CP) "$(COMP)/$(AOUT).trace" "$(LIB)/"
"$(LIB)/$(AOUT).trace" @MLton -- "$(LIB)/world.trace"
sed 's/mlton-compile/mlton-compile.trace/' < "$(MLTON)" | sed 's/world.mlton/world.trace.mlton/' > "$(MLTON).trace"
@@ -242,7 +242,7 @@
.PHONY: debugged
debugged:
- $(MAKE) -C "$(COMP)" "AOUT=$(AOUT).debug" COMPILE_ARGS="-debug true -const 'Exn.keepHistory true' -const 'MLton.debug true' -drop-pass 'deepFlatten'"
+ $(MAKE) -C "$(COMP)" "AOUT=$(AOUT).debug" COMPILE_ARGS="-debug true -const 'Exn.keepHistory true' -profile-val true -const 'MLton.debug true' -drop-pass 'deepFlatten'"
$(CP) "$(COMP)/$(AOUT).debug" "$(LIB)/"
"$(LIB)/$(AOUT).debug" @MLton -- "$(LIB)/world.debug"
sed 's/mlton-compile/mlton-compile.debug/' < "$(MLTON)" | sed 's/world.mlton/world.debug.mlton/' > "$(MLTON).debug"
More information about the MLton-commit
mailing list