summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2008-11-25 15:57:16 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2008-11-25 15:57:16 -0500
commit3dc21c1120b2cffcfe325ae0f527a014a7ccf107 (patch)
treef43f7d0cc86e7897cb9e28540a300e1c877e0efe /Makefile.in
parent1ac88954071855f6d59011a7d2b4a44622b09458 (diff)
Profiling in Makefile
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index ff1f4b6a..a12cb59b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -53,6 +53,10 @@ ifdef DEBUG
MLTON += -const 'Exn.keepHistory true'
endif
+ifdef PROFILE
+ MLTON += -profile $(PROFILE)
+endif
+
bin/urweb: src/urweb.mlb src/*.sig src/*.sml \
src/urweb.mlton.lex.sml \
src/urweb.mlton.grm.sig src/urweb.mlton.grm.sml