Willem Cazander
bc70369c37
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 5s
30 lines
1.2 KiB
Makefile
30 lines
1.2 KiB
Makefile
|
||
define __mb-flow-sdcc-bdos-mono
|
||
.RECIPEPREFIX := $(MB_@RECIPE)
|
||
|
||
$(1)/@@compile-deps:: $(1)/$(3).rel
|
||
$(1)/$(3).rel: $(2)/$(3).asm | $(1)/@prepare
|
||
$(MB_@RECIPE)$$(call mb-make-call,mb-sdcc-compile-asm,$$<,$$@)
|
||
$(MB_ᕽᕽᕽ )$$(call mb-make-call,mb-doc-target-deep,$(1)/$(3).rel)
|
||
|
||
$(1)/@@link-deps:: $(1)/$(3).hex
|
||
$(1)/$(3).hex: $(1)/$(3).rel
|
||
$(MB_@RECIPE)$$(call mb-make-call,mb-sdcc-link-asm-bdos,$$<,$$@)
|
||
$(MB_ᕽᕽᕽ )$$(call mb-make-call,mb-doc-target-deep,$(1)/$(3).hex)
|
||
|
||
$(1)/@@build-deps:: $(1)/$(3).com
|
||
$(1)/$(3).com: $(1)/$(3).hex
|
||
$(MB_@RECIPE)$$(call mb-make-call,mb-sdcc-objcopy,$$<,$$@)
|
||
$(MB_ᕽᕽᕽ )$$(call mb-make-call,mb-doc-target-deep,$(1)/$(3).com)
|
||
|
||
.RECIPEPREFIX := $(MB_@RECIPEPREFIX)
|
||
endef
|
||
define mb-flow-sdcc-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)))
|
||
endef
|
||
$(call mb-make-call,mb-doc-function-flow,mb-flow-sdcc-bdos-mono,Inject flow of sdcc toolchain bdos mono file module.,<bin-dir> <src-dir> <objname>)
|
||
|