2 define MODULE_LIB_template \
3 $(1)/$(outdir)/library.a : \
7 $(foreach a, $(MODULE_LIBS), $(eval $(call MODULE_LIB_template,$(a))))
9 $(O_FILES): $(outdir)/config.hh
11 $(EXECUTABLE): $(O_FILES) $(outdir)/version.hh $(MODULE_LIBS:%=%/$(outdir)/library.a)
12 $(foreach a, $(MODULE_LIBS), $(MAKE) -C $(a) && ) true
13 $(CXX) -o $@ $(O_FILES) $(LOADLIBES) $(ALL_LDFLAGS)