Commit db286afd authored by Ian Lynagh's avatar Ian Lynagh

Add a "make-command" utility Makefile function

parent 0693e611
......@@ -146,6 +146,11 @@ $(error $$(GhcLibWays) is empty, it must contain at least one way)
endif
endif
# -----------------------------------------------------------------------------
# Utility definitions
include rules/make-command.mk
# -----------------------------------------------------------------------------
# Macros for standard targets
......
# -----------------------------------------------------------------------------
#
# (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
# http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture
# http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying
#
# -----------------------------------------------------------------------------
# $1 = the line
# The formatting of this definition (in particular, the blank line at
# the start) is important, in order to get make to generate the right
# makefile code.
define make-command
$1
endef
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment