From dc497e0c26ae4e8110d2b25856822b5d5226249c Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Fri, 17 Oct 2008 17:00:53 +0000 Subject: [PATCH] build with -O2 by default --- Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 1bca03148..758d8371d 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,4 @@ -BUILD=ghc --make hledger.hs -o hledger -BUILDOPT=$(BUILD)opt -O2 +BUILD=ghc --make hledger.hs -o hledger -O2 BUILDPROF=$(BUILD) -prof -auto-all PROFILE=./hledger -s balance +RTS -p TIME=`date +"%Y%m%d%H%M"` @@ -7,9 +6,6 @@ TIME=`date +"%Y%m%d%H%M"` build: tag $(BUILD) -buildopt opt: clean - $(BUILDOPT) - # build and run whenever a module changes, see http://searchpath.org continuous: sp -o hledger ghc --make hledger.hs --run @@ -115,5 +111,5 @@ clean: rm -f {,Ledger/}*{.o,.hi,~} darcs-amend-record* Clean: clean clean-docs - rm -f hledger hledgeropt TAGS tags + rm -f hledger TAGS tags