summaryrefslogtreecommitdiff
path: root/rules/trace.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rules/trace.mk')
-rw-r--r--rules/trace.mk21
1 files changed, 0 insertions, 21 deletions
diff --git a/rules/trace.mk b/rules/trace.mk
deleted file mode 100644
index ec92fea1d5..0000000000
--- a/rules/trace.mk
+++ /dev/null
@@ -1,21 +0,0 @@
-# -----------------------------------------------------------------------------
-#
-# (c) 2010 The University of Glasgow
-#
-# This file is part of the GHC build system.
-#
-# To understand how the build system works and how to modify it, see
-# https://gitlab.haskell.org/ghc/ghc/wikis/building/architecture
-# https://gitlab.haskell.org/ghc/ghc/wikis/building/modifying
-#
-# -----------------------------------------------------------------------------
-
-# A helpful little debug macro. Call it from a macro like this:
-#
-# $(call trace, this-macro($1,$2,$3))
-#
-# And invoke the build system with TRACE=1 to turn on tracing.
-
-define trace
-$$(if $(TRACE),$$(warning $1),)
-endef