summaryrefslogtreecommitdiff
path: root/utils/mkdependC/ghc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mkdependC/ghc.mk')
-rw-r--r--utils/mkdependC/ghc.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/mkdependC/ghc.mk b/utils/mkdependC/ghc.mk
index 1fa673a767..229e3ee40e 100644
--- a/utils/mkdependC/ghc.mk
+++ b/utils/mkdependC/ghc.mk
@@ -10,8 +10,7 @@
#
# -----------------------------------------------------------------------------
-$(MKDEPENDC) : utils/mkdependC/mkdependC.prl $(MKDIRHIER)
- "$(MKDIRHIER)" $(dir $@)
+$(MKDEPENDC) : utils/mkdependC/mkdependC.prl | $$(dir $$@)/.
"$(RM)" $(RM_OPTS) $@
echo '#!$(PERL)' >> $@
echo '$$DEFAULT_TMPDIR = "$(DEFAULT_TMPDIR)";' >> $@