diff options
| author | Julian Blake Kongslie | 2022-06-27 18:46:30 -0700 |
|---|---|---|
| committer | Julian Blake Kongslie | 2022-06-27 18:46:30 -0700 |
| commit | 9b5acacdd36ccfcf81d28916ac2371b2a97833b7 (patch) | |
| tree | 932febbc9bbfcce9154cd8a2fd8311cd0b1d27c9 | |
| parent | Step limit. (diff) | |
| download | issim-9b5acacdd36ccfcf81d28916ac2371b2a97833b7.tar.xz | |
Don't redo IWYU work when headers haven't changed.
Diffstat (limited to '')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
| @@ -59,11 +59,10 @@ endif | |||
| 59 | 59 | ||
| 60 | ifdef iwyu | 60 | ifdef iwyu |
| 61 | 61 | ||
| 62 | build/$(1)/iwyu.cpp: | 62 | build/$(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 | ||
| 68 | IWYU_CPPS += build/$(1)/iwyu.cpp | 67 | IWYU_CPPS += build/$(1)/iwyu.cpp |
| 69 | 68 | ||
