define LIBMAPLE_MODULE_template dir := $(1) include $$(dir)/rules.mk endef