From 3dc21c1120b2cffcfe325ae0f527a014a7ccf107 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Tue, 25 Nov 2008 15:57:16 -0500 Subject: Profiling in Makefile --- .hgignore | 1 + Makefile.in | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.hgignore b/.hgignore index 8c3417d4..b388b26a 100644 --- a/.hgignore +++ b/.hgignore @@ -26,3 +26,4 @@ demo/out/*.html demo/demo.* *.sql +*mlmon.out 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 -- cgit v1.2.3