2018-12-24 23:49:40 +00:00
|
|
|
|
|
|
|
MENU_NAME := menu
|
|
|
|
MENU_SRC := $(PATH_SRC)/$(MENU_NAME)
|
|
|
|
MENU_BIN := $(PATH_BIN)/$(MENU_NAME)
|
|
|
|
MENU_HEX := $(MENU_BIN)/$(MENU_NAME).hex
|
|
|
|
MENU_DAT := $(MENU_BIN)/$(MENU_NAME).dat
|
|
|
|
MENU_RELS := $(MENU_BIN)/$(MENU_NAME).rel
|
|
|
|
MENU_CODE := $(MENU_SRC)/$(MENU_NAME).asm
|
2021-07-02 19:01:12 +00:00
|
|
|
BUILD_HELP += \\n\\t* $(MENU_DAT)
|
2018-12-24 23:49:40 +00:00
|
|
|
|
|
|
|
$(MENU_BIN):
|
2024-09-07 13:36:28 +00:00
|
|
|
$(call mb-make-call,mb-os-dir-create,$(MENU_BIN))
|
2018-12-24 23:49:40 +00:00
|
|
|
|
|
|
|
$(MENU_BIN)/%.rel: $(MENU_SRC)/%.asm | $(MENU_BIN)
|
2024-09-07 13:36:28 +00:00
|
|
|
$(call mb-make-call,mb-sdcc-compile-asm,$<,$@)
|
2018-12-24 23:49:40 +00:00
|
|
|
|
|
|
|
$(MENU_HEX): $(MENU_RELS)
|
2024-09-07 13:36:28 +00:00
|
|
|
$(call mb-make-call,mb-sdcc-link-asm-8000,$<,$@)
|
2018-12-24 23:49:40 +00:00
|
|
|
|
|
|
|
$(MENU_DAT): $(MENU_HEX)
|
2024-09-07 13:36:28 +00:00
|
|
|
$(call mb-make-call,mb-sdcc-objcopy,$<,$@)
|
2024-07-10 21:00:29 +00:00
|
|
|
|