summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Blake Kongslie2022-06-27 18:46:30 -0700
committerJulian Blake Kongslie2022-06-27 18:46:30 -0700
commit9b5acacdd36ccfcf81d28916ac2371b2a97833b7 (patch)
tree932febbc9bbfcce9154cd8a2fd8311cd0b1d27c9
parentStep limit. (diff)
downloadissim-9b5acacdd36ccfcf81d28916ac2371b2a97833b7.tar.xz
Don't redo IWYU work when headers haven't changed.
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c2838bf..0d154a8 100644
--- a/Makefile
+++ b/Makefile
@@ -59,11 +59,10 @@ endif
59 59
60ifdef iwyu 60ifdef iwyu
61 61
62build/$(1)/iwyu.cpp: 62build/$(1)/iwyu.cpp: $$(wildcard $(1)/*.h)
63 @mkdir -p $$(dir $$@) 63 @mkdir -p $$(dir $$@)
64 @tools/iwyu-header $$(wildcard $(1)/*.h) > $$@ 64 @tools/iwyu-header $$(wildcard $(1)/*.h) > $$@
65 @$$(call iwyu,$$@) 65 @$$(call iwyu,$$@)
66.PHONY: build/$(1)/iwyu.cpp
67 66
68IWYU_CPPS += build/$(1)/iwyu.cpp 67IWYU_CPPS += build/$(1)/iwyu.cpp
69 68