2024-07-14 01:46:29 +00:00
|
|
|
|
|
2024-07-16 14:45:37 +00:00
|
|
|
|
define mb-make-module-path-src
|
2024-07-14 01:46:29 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(1)$(abspath $(subst $(1),,$(dir $(lastword $(MAKEFILE_LIST)))))
|
|
|
|
|
endef
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-function-deep,mb-make-module-path-src,Convert current location folder as src folder.,<path-src>)
|
2024-07-14 01:46:29 +00:00
|
|
|
|
|
|
|
|
|
|
2024-07-16 14:45:37 +00:00
|
|
|
|
define mb-make-module-path-bin
|
2024-07-14 01:46:29 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(2)$(abspath $(subst $(1),,$(dir $(lastword $(MAKEFILE_LIST)))))
|
|
|
|
|
endef
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-function-deep,mb-make-module-path-src,Convert current location folder as bin folder.,<path-src> <path-bin>)
|
2024-07-14 01:46:29 +00:00
|
|
|
|
|
|
|
|
|
|
2024-07-16 14:45:37 +00:00
|
|
|
|
define mb-make-module-local-deps
|
2024-07-14 01:46:29 +00:00
|
|
|
|
$(MB_ᕽᕽᕽ )$(foreach _dep,$(2),$(1)/$(notdir $(_dep)))
|
|
|
|
|
endef
|
2024-07-16 17:32:08 +00:00
|
|
|
|
$(call mb-make-call,mb-doc-function-deep,mb-make-module-deps,Convert other files to local deps.,<mod-bin> <deps>)
|
2024-07-14 01:46:29 +00:00
|
|
|
|
|