# HG changeset patch
# Parent aadfc1a138d8a04788a43767389deb77276c9066
Allow running mlton verbosely, and compiling with profiling/debug info

diff -r aadfc1a138d8 -r 195b09afcea0 Makefile.am
--- a/Makefile.am	Mon Oct 22 01:49:22 2012 +0400
+++ b/Makefile.am	Tue Nov 06 00:19:41 2012 -0600
@@ -47,13 +47,17 @@
 
 MLTON = mlton
 
-#ifdef DEBUG
-#	MLTON += -const 'Exn.keepHistory true'
-#endif
+ifdef DEBUG
+	MLTON += -const 'Exn.keepHistory true'
+endif
 
-#ifdef PROFILE
-#	MLTON += -profile $(PROFILE)
-#endif
+ifdef PROFILE
+	MLTON += -profile $(PROFILE)
+endif
+
+ifdef VERBOSE
+	MLTON += -verbose 2
+endif
 
 bin/urweb: xml/entities.sml \
 		src/compiler.mlb src/urweb.mlb src/*.sig src/*.sml \
