From 94c41794fa83c9d5c25d362920dc2ee4b5d48288 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Sun, 19 Nov 2023 14:26:45 +0100 Subject: [PATCH] chore: pass PROGRAM argument to objdump make target --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f8ce048..6cd3c34 100755 --- a/Makefile +++ b/Makefile @@ -92,7 +92,8 @@ OBJCOPY=riscv32-none-elf-objcopy ./programs/bin/%.dat: ./programs/bin/%.bin od $< -t x4 -A n -v > $@ -objdump/%: ./programs/bin/start-%.o +.PHONY: objdump +objdump: ./programs/bin/start-$(PROGRAM).o $(OBJDUMP) -d -M no-aliases $< .PHONY: clean -- 2.48.1