From e81f02795425f2fcd910c9845adc8e9b919833f4 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 21 May 2012 18:10:46 +0200 Subject: SdiTarget.mk: need explicit rule to get object files rebuilt Without this, when changing sdi file, the objects that include the generated header are only rebuilt at the second make invocation. Change-Id: Idd52a12dd162ec780da3a3b9f24d3bdd9b408a33 --- solenv/gbuild/SdiTarget.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'solenv') diff --git a/solenv/gbuild/SdiTarget.mk b/solenv/gbuild/SdiTarget.mk index d9118564adc3..43e38ab76c96 100644 --- a/solenv/gbuild/SdiTarget.mk +++ b/solenv/gbuild/SdiTarget.mk @@ -52,6 +52,10 @@ $(call gb_SdiTarget_get_target,%) : $(SRCDIR)/%.sdi $(gb_SdiTarget_SVIDLTARGET) -fM$(call gb_SdiTarget_get_dep_target,$*) \ $<) +# rule necessary to rebuild cxx files that include the header +$(call gb_SdiTarget_get_target,%.hxx) : $(call gb_SdiTarget_get_target,%) + @true + ifeq ($(gb_FULLDEPS),$(true)) $(call gb_SdiTarget_get_dep_target,%) : $(if $(wildcard $@),touch $@,\ -- cgit