From: simonpj Date: Fri, 14 Jun 2002 08:23:57 +0000 (+0000) Subject: [project @ 2002-06-14 08:23:57 by simonpj] X-Git-Tag: Approx_11550_changesets_converted~1968 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=9505a207ac1da84fceb333b8b444ed364a478033;p=ghc-hetmet.git [project @ 2002-06-14 08:23:57 by simonpj] --------------------------------------- Add a target "count" which counts lines in user source files --------------------------------------- --- 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)