msxbuild/lib/make/सिस्टमₚᵣₐᵧToੴ/mb_make_module.mk

19 lines
752 B
Makefile
Raw Normal View History

define mb-make-module-path-src
$(MB_   )$(1)$(abspath $(subst $(1),,$(dir $(lastword $(MAKEFILE_LIST)))))
endef
$(call mb-make-call,mb-doc-function-deep,mb-make-module-path-src,"Convert current location folder as src folder.","<path-src>")
define mb-make-module-path-bin
$(MB_   )$(2)$(abspath $(subst $(1),,$(dir $(lastword $(MAKEFILE_LIST)))))
endef
$(call mb-make-call,mb-doc-function-deep,mb-make-module-path-src,"Convert current location folder as bin folder.","<path-src> <path-bin>")
define mb-make-module-local-deps
$(MB_   )$(foreach _dep,$(2),$(1)/$(notdir $(_dep)))
endef
$(call mb-make-call,mb-doc-function-deep,mb-make-module-deps,"Convert other files to local deps.","<mod-bin> <deps>")