summaryrefslogtreecommitdiff
path: root/share/spack/templates/depfile/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'share/spack/templates/depfile/Makefile')
-rw-r--r--share/spack/templates/depfile/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/templates/depfile/Makefile b/share/spack/templates/depfile/Makefile
index dde42cf7d5..4b76475267 100644
--- a/share/spack/templates/depfile/Makefile
+++ b/share/spack/templates/depfile/Makefile
@@ -8,7 +8,7 @@ SPACK_INSTALL_FLAGS ?=
{{ all_target }}: {{ env_target }}
-{{ env_target }}: {{ root_install_targets }}
+{{ env_target }}: {{ root_install_targets }} | {{ dirs_target }}
@touch $@
{{ dirs_target }}: