Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Alex D
GHC
Commits
db286afd
Commit
db286afd
authored
Aug 18, 2010
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a "make-command" utility Makefile function
parent
0693e611
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
ghc.mk
ghc.mk
+5
-0
rules/make-command.mk
rules/make-command.mk
+21
-0
No files found.
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