Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
ebb37122
Commit
ebb37122
authored
May 09, 2009
by
Ian Lynagh
Browse files
Build system tweak
parent
f4bce9ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
rules/build-dependencies.mk
View file @
ebb37122
...
@@ -23,7 +23,7 @@ ifneq "$$($1_$2_NO_BUILD_DEPS)" "YES"
...
@@ -23,7 +23,7 @@ ifneq "$$($1_$2_NO_BUILD_DEPS)" "YES"
$$($1_$2_depfile)
:
$$(MKDIRHIER) $$(MKDEPENDC) $$($1_$2_HS_SRCS) $$($1_$2_HS_BOOT_SRCS) $$($1_$2_HC_MK_DEPEND_DEP) $$($1_$2_C_FILES) $$($1_$2_S_FILES)
$$($1_$2_depfile)
:
$$(MKDIRHIER) $$(MKDEPENDC) $$($1_$2_HS_SRCS) $$($1_$2_HS_BOOT_SRCS) $$($1_$2_HC_MK_DEPEND_DEP) $$($1_$2_C_FILES) $$($1_$2_S_FILES)
$
$(MKDIRHIER)
$1
/
$2
/build
$
$(MKDIRHIER)
$1
/
$2
/build
$(RM)
$$
@
$$
@.tmp
$
$(RM)
$$
@
$$
@.tmp
touch
$$
@.tmp
touch
$$
@.tmp
ifneq
"$$($1_$2_C_SRCS)$$($1_$2_S_SRCS)" ""
ifneq
"$$($1_$2_C_SRCS)$$($1_$2_S_SRCS)" ""
$
$(MKDEPENDC)
-f
$$
(
$1_$2_depfile
)
.tmp
$$
(
$1_MKDEPENDC_OPTS
)
$
$(
foreach
way,
$$
(
$1_WAYS
)
,-s
$
$(way)
)
--
$$
(
$1_$2_v_ALL_CC_OPTS
)
--
$$
(
$1_$2_C_FILES
)
$$
(
$1_$2_S_FILES
)
||
(
$
$(RM)
$$
@
;
exit
1
)
$
$(MKDEPENDC)
-f
$$
(
$1_$2_depfile
)
.tmp
$$
(
$1_MKDEPENDC_OPTS
)
$
$(
foreach
way,
$$
(
$1_WAYS
)
,-s
$
$(way)
)
--
$$
(
$1_$2_v_ALL_CC_OPTS
)
--
$$
(
$1_$2_C_FILES
)
$$
(
$1_$2_S_FILES
)
||
(
$
$(RM)
$$
@
;
exit
1
)
...
...
Write
Preview
Supports
Markdown
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