diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-11-24 15:17:26 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-11-24 15:20:38 +0100 |
commit | fea3ca373873b1b6e5d319a8452491d2b38dbdaa (patch) | |
tree | 61bb357fc6f26a7abc20b42841484472f38ac331 /Makefile.in | |
parent | 715aafa6d9dbc23be738597b4fa15af102f1f98f (diff) |
Makefile: provide a hint when "make iwyudummy" fails
Change-Id: I5d37478e1dfdd9bf96ceb302fe51fc5c2b4ed838
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index 6c2957f68ccf..fa3ffd3adeef 100644 --- a/Makefile.in +++ b/Makefile.in @@ -62,7 +62,10 @@ PARALLELISM_OPTION := $(if $(filter-out 0,$(PARALLELISM)),-j $(PARALLELISM),) IWYU_OPTION := $(if $(IWYU_PATH),-k CC=$(IWYU_PATH) CXX=$(IWYU_PATH),) +# don't want to have a dependency to iwyudummy.generate because it's +# useful to manually edit the generated StaticLibrary_iwyudummy.mk iwyudummy: bootstrap fetch + $(if $(wildcard $(BUILDDIR)/iwyudummy),,$(error first call "make iwyudummy.generate")) cd $(BUILDDIR)/iwyudummy && $(MAKE) $(IWYU_OPTION) $(GMAKE_OPTIONS) iwyudummy.generate: |