Mercurial > urweb
changeset 507:ca95f9e4d45f
Profiling in Makefile
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 25 Nov 2008 15:57:16 -0500 |
parents | 65d8541c130b |
children | 04053089878a |
files | .hgignore Makefile.in |
diffstat | 2 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgignore Tue Nov 25 10:05:44 2008 -0500 +++ b/.hgignore Tue Nov 25 15:57:16 2008 -0500 @@ -26,3 +26,4 @@ demo/demo.* *.sql +*mlmon.out
--- a/Makefile.in Tue Nov 25 10:05:44 2008 -0500 +++ b/Makefile.in Tue Nov 25 15:57:16 2008 -0500 @@ -53,6 +53,10 @@ 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