diff options
-rw-r--r-- | Makefile.in | 3 | ||||
-rw-r--r-- | solenv/gbuild/Helper.mk | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index f149a7ee79b4..3cce173bcdf0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -165,6 +165,9 @@ gbuild_TARGETS := AllLangHelp \ $(foreach target,$(gbuild_TARGETS),$(target)_% $(foreach module,$(gbuild_modules),$(target)_$(module)/%)) UIConfig_modules/% %.genpatch: bootstrap fetch $(MAKE) $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild $@ +$(gbuild_TARGETS): + $(MAKE) $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild $@ + # # Clean # diff --git a/solenv/gbuild/Helper.mk b/solenv/gbuild/Helper.mk index 688f5963a1f5..2aa0fc8d65b2 100644 --- a/solenv/gbuild/Helper.mk +++ b/solenv/gbuild/Helper.mk @@ -88,7 +88,8 @@ endef # # gb_Helper_make_userfriendly_targets target class build-target? clean-target? define gb_Helper_make_userfriendly_targets -.PHONY: $(2)_$(1) $(2)_$(1).clean +.PHONY: $(2) $(2)_$(1) $(2)_$(1).clean +$(2): $(2)_$(1) $(2)_$(1) : $(if $(3),$(3),$(call gb_$(2)_get_target,$(1))) $(2)_$(1).clean : $(if $(4),$(4),$(call gb_$(2)_get_clean_target,$(1))) |