make .map file during compilation.

This commit is contained in:
hugova 2025-08-01 18:23:44 +02:00
parent b6a63a6a26
commit 9f830d0ca3

View file

@ -20,7 +20,7 @@ SRCS := $(shell find $(SRC_DIR) -name '*.s' -or -name '*.inc')
CL := cl65
CLFLAGS := -u __EXEHDR__ -t c64 -C c64-asm.cfg -l $(BUILD_DIR)/$(HOST_NAME).lst -Ln $(BUILD_DIR)/$(HOST_NAME).lbl
CLFLAGS := -u __EXEHDR__ -t c64 -C c64-asm.cfg -l $(BUILD_DIR)/$(HOST_NAME).lst -Ln $(BUILD_DIR)/$(HOST_NAME).lbl -m $(BUILD_DIR)/$(HOST_NAME).m
$(HOST_PRG): $(SRCS) userprog.bin
mkdir -p $(BUILD_DIR)