Use "order only constraints" for directories
[ghc-hetmet.git] / utils / mkdependC / ghc.mk
index 1fa673a..229e3ee 100644 (file)
@@ -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)";' >> $@