projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d1990f
)
Don't generate Haskell dependencies if we don't have any Haskell sources
author
Ian Lynagh
<igloo@earth.li>
Sat, 17 Jul 2010 00:08:00 +0000
(
00:08
+0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 17 Jul 2010 00:08:00 +0000
(
00:08
+0000)
rules/build-dependencies.mk
patch
|
blob
|
history
diff --git
a/rules/build-dependencies.mk
b/rules/build-dependencies.mk
index
6ebc7ef
..
4bcd6d1
100644
(file)
--- a/
rules/build-dependencies.mk
+++ b/
rules/build-dependencies.mk
@@
-67,7
+67,9
@@
endif # $1_$2_NO_BUILD_DEPS
$$($1_$2_depfile_haskell) : $$(UNLIT)
ifneq "$$(NO_INCLUDE_DEPS)" "YES"
+ifneq "$$(strip $$($1_$2_HS_SRCS) $$($1_$2_HS_BOOT_SRCS))" ""
include $$($1_$2_depfile_haskell)
+endif
include $$($1_$2_depfile_c_asm)
else
ifeq "$$(DEBUG)" "YES"