[commit: packages/time] master: build/test target fiddling in Makefile (1c01493)

git at git.haskell.org git at git.haskell.org
Sun Dec 20 07:46:45 UTC 2015


Repository : ssh://git@git.haskell.org/time

On branch  : master
Link       : http://git.haskell.org/packages/time.git/commitdiff/1c01493fa23ff52673863e7cc4f42f01f2859c73

>---------------------------------------------------------------

commit 1c01493fa23ff52673863e7cc4f42f01f2859c73
Author: Ashley Yakeley <ashley at semantic.org>
Date:   Thu May 5 00:17:36 2005 -0700

    build/test target fiddling in Makefile
    
    darcs-hash:20050505071736-ac6dd-71984598fc9b9282614217eaf645e2e81fcc2a9c


>---------------------------------------------------------------

1c01493fa23ff52673863e7cc4f42f01f2859c73
 Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 878f7e4..14c6e54 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,6 @@
-default: test doc CurrentTime.run ShowDST.run
+default: build doc CurrentTime.run ShowDST.run test
+
+build: $(patsubst %.hs,%.hi,$(SRCS)) libTimeLib.a
 
 SRCS = Data/Fixed.hs \
 	System/Time/Clock.hs \



More information about the ghc-commits mailing list