From 9505a207ac1da84fceb333b8b444ed364a478033 Mon Sep 17 00:00:00 2001 From: simonpj Date: Fri, 14 Jun 2002 08:23:57 +0000 Subject: [PATCH] [project @ 2002-06-14 08:23:57 by simonpj] --------------------------------------- Add a target "count" which counts lines in user source files --------------------------------------- --- ghc/compiler/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index dd65b1a..c4ce2a3 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.218 2002/05/29 22:39:39 sof Exp $ +# $Id: Makefile,v 1.219 2002/06/14 08:23:57 simonpj Exp $ TOP = .. @@ -11,6 +11,10 @@ endif include $(TOP)/mk/boilerplate.mk +USER_SRCS = $(filter-out $(DERIVED_SRCS),$(SRCS)) +count : + ./count_lines $(USER_SRCS) + #----------------------------------------------------------------------------- # Building ghc different ways (default is just `normal' sequential) WAYS=$(GhcCompilerWays) -- 1.7.10.4