Commit 2d4269af authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Don't generate Haskell dependencies if we don't have any Haskell sources

parent 8d1990f4
...@@ -67,7 +67,9 @@ endif # $1_$2_NO_BUILD_DEPS ...@@ -67,7 +67,9 @@ endif # $1_$2_NO_BUILD_DEPS
$$($1_$2_depfile_haskell) : $$(UNLIT) $$($1_$2_depfile_haskell) : $$(UNLIT)
ifneq "$$(NO_INCLUDE_DEPS)" "YES" ifneq "$$(NO_INCLUDE_DEPS)" "YES"
ifneq "$$(strip $$($1_$2_HS_SRCS) $$($1_$2_HS_BOOT_SRCS))" ""
include $$($1_$2_depfile_haskell) include $$($1_$2_depfile_haskell)
endif
include $$($1_$2_depfile_c_asm) include $$($1_$2_depfile_c_asm)
else else
ifeq "$$(DEBUG)" "YES" ifeq "$$(DEBUG)" "YES"
......
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