msxbuild/lib/make/𓃬𓍄𓋹𓀭/mb_flow_nestor80.mk

30 lines
1.2 KiB
Makefile
Raw Permalink Normal View History

2024-07-14 22:12:42 +00:00
define __mb-flow-nestor80-bdos-mono
2024-07-14 22:12:42 +00:00
.RECIPEPREFIX := $(MB_@RECIPE)
$(1)/@@prepare-deps:: $(1)/$(3).mac
$(1)/$(3).mac: $(2)/$(3).mac | $(1)/@init
$(MB_@RECIPE)$$(call mb-make-call,mb-os-file-copy,$$<,$$@)
$(MB_   )$$(call mb-make-call,mb-doc-target-deep,$(1)/$(3).mac)
2024-07-14 22:12:42 +00:00
$(1)/@@compile-deps:: $(1)/$(3).rel
$(1)/$(3).rel: $(1)/$(3).mac
$(MB_@RECIPE)$$(call mb-make-call,mb-nestor80-compile,$$<,$$@)
$(MB_   )$$(call mb-make-call,mb-doc-target-deep,$(1)/$(3).rel)
2024-07-14 22:12:42 +00:00
$(1)/@@link-deps:: $(1)/$(3).com
$(1)/$(3).com: $(1)/$(3).rel
$(MB_@RECIPE)$$(call mb-make-call,mb-nestor80-link-bdos,$$<,$$@)
$(MB_   )$$(call mb-make-call,mb-doc-target-deep,$(1)/$(3).com)
2024-07-14 22:12:42 +00:00
.RECIPEPREFIX := $(MB_@RECIPEPREFIX)
endef
define mb-flow-nestor80-bdos-mono
$(MB_   )$(call mb-make-call,mb-make-check-arg3,$(0),$(1),$(2),$(3))
$(MB_   )$(call mb-make-call,mb-flow-proj-setup,$(1),@init,$(1))
$(MB_   )$(call mb-make-call,mb-flow-proj-module-run,$(1))
$(MB_   )$(eval $(call mb-make-call,__$(0),$(1),$(2),$(3)))
2024-07-14 22:12:42 +00:00
endef
$(call mb-make-call,mb-doc-function-flow,mb-flow-nestor80-bdos-mono,Inject flow of Nestor80 toolchain bdos mono file module.,<bin-dir> <src-dir> <objname>)
2024-07-14 22:12:42 +00:00