From 3c6b5b039ba211ca901723a05ad0cf2e34590bad Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Tue, 3 Jul 2007 09:11:03 +0000 Subject: [PATCH] make tweaks --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 53d7a0efa..22e2c0b5f 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -BUILD=ghc --make hledger.hs -o hledger -prof -auto-all # -O2 +BUILD=ghc --make hledger.hs -o hledger -prof -auto-all #-O2 TOPROFILE=hledger -s balance TIME=`date +"%Y%m%d%H%M"` @@ -10,10 +10,11 @@ profile: $(BUILD) -prof -auto-all $(TOPROFILE) +RTS -p mv hledger.prof $(TIME).prof - cat $(TIME).prof rm -f last.prof ln -s $(TIME).prof last.prof - ./simplifyprof.hs simple.prof + cat simple.prof + ./simplifyprof.hs >simple.prof xprofile: $(BUILD) -prof -auto-all @@ -25,7 +26,7 @@ haddock: haddock -h -o doc *.hs overview: - @./overview.hs Types.hs + @./overview.hs Types.hs | tee OVERVIEW loc: @darcs trackdown 'find . -name "*hs" |xargs wc -l |echo OUTPUT `tail -1`; false' |ruby -nae'puts $$F[1] if /^OUTPUT/'