]> git.donarmstrong.com Git - lilypond.git/blob - stepmake/stepmake/executable-rules.make
Merge remote-tracking branch 'origin/translation' into staging
[lilypond.git] / stepmake / stepmake / executable-rules.make
1
2 define MODULE_LIB_template \
3 $(1)/$(outdir)/library.a : \
4         $(MAKE) -C $(1)
5 endef
6
7 $(foreach a, $(MODULE_LIBS), $(eval $(call MODULE_LIB_template,$(a))))
8
9 $(O_FILES): $(outdir)/config.hh
10
11 $(EXECUTABLE): $(O_FILES) $(outdir)/version.hh $(MODULE_LIBS:%=%/$(outdir)/library.a)
12         $(foreach a, $(MODULE_LIBS), $(MAKE) -C $(a) && ) true
13         $(LD) -o $@ $(O_FILES) $(LOADLIBES) $(ALL_LDFLAGS)