Willem Cazander
66990665fa
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 7s
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>")
|
||
|