aboutsummaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorAndrew Waterman <waterman@cs.berkeley.edu>2014-11-19 18:07:53 -0800
committerAndrew Waterman <waterman@cs.berkeley.edu>2014-11-19 18:07:53 -0800
commit8e7ae9b1d6da2ad31c44ea753783057678b8987f (patch)
treedc43258c908e5a8bafce54e851aa3991d9c10bd4 /Makefile.in
parentf3af66af20acebbb8bf81659f46b27e411aa6101 (diff)
downloadriscv-isa-sim-8e7ae9b1d6da2ad31c44ea753783057678b8987f.zip
riscv-isa-sim-8e7ae9b1d6da2ad31c44ea753783057678b8987f.tar.gz
riscv-isa-sim-8e7ae9b1d6da2ad31c44ea753783057678b8987f.tar.bz2
Add missing makefile dependence
This manifested as a spurious compile warning when using make -j.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index c3f7dc0..2445f94 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -189,7 +189,7 @@ $(2)_objs := $$(patsubst %.cc, %.o, $$($(2)_srcs))
$(2)_c_objs := $$(patsubst %.c, %.o, $$($(2)_c_srcs))
$(2)_deps := $$(patsubst %.o, %.d, $$($(2)_objs))
$(2)_c_deps := $$(patsubst %.o, %.d, $$($(2)_c_objs))
-$$($(2)_pch) : %.h.gch : %.h
+$$($(2)_pch) : %.h.gch : %.h $$($(2)_gen_hdrs)
$(COMPILE) $$<
# If using clang, don't depend (and thus don't build) precompiled headers
$$($(2)_objs) : %.o : %.cc $$($(2)_gen_hdrs) $(if $(filter-out clang,$(CC)),$$($(2)_pch))