diff options
author | Andrew Waterman <aswaterman@gmail.com> | 2015-01-02 15:09:04 -0800 |
---|---|---|
committer | Andrew Waterman <aswaterman@gmail.com> | 2015-01-02 15:09:04 -0800 |
commit | 3fd738af16ef977f1aa507e2525bb4c16fff9026 (patch) | |
tree | 4b2ba07a5b3fd928fe17d330c262296547f48f00 /Makefile.in | |
parent | e104cd11f504c2de3d1fdfa2ce9193f8f878d15c (diff) | |
download | spike-3fd738af16ef977f1aa507e2525bb4c16fff9026.zip spike-3fd738af16ef977f1aa507e2525bb4c16fff9026.tar.gz spike-3fd738af16ef977f1aa507e2525bb4c16fff9026.tar.bz2 |
Reduce dependences on auto-generated code
In particular, precompiled headers ideally won't depend on any.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index dcecc23..5ae226f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -190,7 +190,7 @@ $(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_deps := $$(patsubst %.h, %.d, $$($(2)_precompiled_hdrs)) -$$($(2)_pch) : %.h.gch : %.h $$($(2)_gen_hdrs) +$$($(2)_pch) : %.h.gch : %.h $(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)) |