Willem Cazander
c13a26d6b5
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -13s
19 lines
752 B
Makefile
19 lines
752 B
Makefile
|
||
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>")
|
||
|