Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
db286afd
Commit
db286afd
authored
Aug 18, 2010
by
Ian Lynagh
Browse files
Add a "make-command" utility Makefile function
parent
0693e611
Changes
2
Hide whitespace changes
Inline
Side-by-side
ghc.mk
View file @
db286afd
...
...
@@ -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
...
...
rules/make-command.mk
0 → 100644
View file @
db286afd
# -----------------------------------------------------------------------------
#
# (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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment