diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-05-21 18:10:46 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-05-21 18:20:51 +0200 |
commit | e81f02795425f2fcd910c9845adc8e9b919833f4 (patch) | |
tree | 3cc5b30355392cb69054094e37e20f56e0257bb0 /solenv | |
parent | 18ab7f52ebf78f41f824b2245a8a180d97081716 (diff) |
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
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/SdiTarget.mk | 4 |
1 files changed, 4 insertions, 0 deletions
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 $@,\ |