summaryrefslogtreecommitdiff
path: root/support/make/wc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'support/make/wc.mk')
-rw-r--r--support/make/wc.mk45
1 files changed, 0 insertions, 45 deletions
diff --git a/support/make/wc.mk b/support/make/wc.mk
deleted file mode 100644
index e273544f48..0000000000
--- a/support/make/wc.mk
+++ /dev/null
@@ -1,45 +0,0 @@
-############################################################-*-Makefile-*-####
-# WC - Count Bytes, Words and Lines
-##############################################################################
-# $Id$
-
-##############################################################################
-# Usage
-#
-# make wc [FLAGS=<flags>] [FILES=<files>]
-#
-##############################################################################
-# Examples
-#
-# Count lines in all source files:
-#
-# make wc
-#
-#
-# Count lines in the compiler source files:
-#
-# make wc FILES='$(COMPILER_SOURCES)'
-#
-##############################################################################
-
-##############################################################################
-# Defaults
-
-WC ?= wc
-
-##############################################################################
-# Variables
-
-WC_BINARY ?= $(WC)
-WC_FLAGS ?= $(FLAGS)
-WC_FILES ?= $(if $(FILES),$(FILES),$(PROJECT_SOURCES))
-
-##############################################################################
-# Rules
-
-wc :
- @$(WC_BINARY) $(WC_FLAGS) $(WC_FILES:%='%')
-
-.PHONY : wc
-
-##############################################################################