1 # -----------------------------------------------------------------------------
3 # (c) 2010 The University of Glasgow
5 # This file is part of the GHC build system.
7 # To understand how the build system works and how to modify it, see
8 # http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture
9 # http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying
11 # -----------------------------------------------------------------------------
13 # A helpful little debug macro. Call it from a macro like this:
15 # $(call trace, this-macro($1,$2,$3))
17 # And invoke the build system with TRACE=1 to turn on tracing.
20 $$(if $(TRACE),$$(warning $1),)