build with profile info

This commit is contained in:
Simon Michael 2007-07-02 16:31:47 +00:00
parent 58374bf730
commit 4ff7c1c7fb

View File

@ -1,10 +1,11 @@
BUILD=ghc --make hledger.hs -o hledger BUILD=ghc --make hledger.hs -o hledger -prof -auto-all # -O2
TOPROFILE=hledger -s balance TOPROFILE=hledger -s balance
TIME=`date +"%Y%m%d%H%M"` TIME=`date +"%Y%m%d%H%M"`
build: Tags build: Tags
$(BUILD) $(BUILD)
profile prof: profile prof:
$(BUILD) -prof -auto-all $(BUILD) -prof -auto-all
$(TOPROFILE) +RTS -p $(TOPROFILE) +RTS -p