From 195fc13fcf0e7f48f57e59718767b3199b4b4ec5 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 26 Jan 2009 20:27:41 +0000 Subject: [PATCH] make tweaks --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index d51fc0695..3644855b5 100644 --- a/Makefile +++ b/Makefile @@ -6,12 +6,9 @@ BUILDFLAGS=-DVTY build: setbuildversion tag $(BUILD) $(BUILDFLAGS) -# force a full rebuild with normal optimisation -rebuild: clean build - # build the fastest binary we can, as hledgeropt BUILDOPT=ghc --make hledger.hs -o hledgeropt -O2 -fvia-C -buildopt: +buildopt opt: $(BUILDOPT) # recompile and run tests (or another command) whenever a module changes @@ -21,6 +18,9 @@ CICMD=test continuous ci: sp --no-exts --no-default-map -o hledger ghc --make hledger.hs $(BUILDFLAGS) --run $(CICMD) +# force a full rebuild with normal optimisation +rebuild: clean build + # run code tests test: ./hledger.hs test