Add rule to disassemble .o files
This commit is contained in:
parent
9cd46dfd4a
commit
00f4a66bb8
|
@ -95,6 +95,10 @@ $(foreach t, $(TARGETS_WITH_ROM_VARS), $(eval $(call build_elf_rule,$(t))))
|
|||
$(call pretty,OBJDUMP,$@)
|
||||
$Q$(OBJDUMP) -Sd $< > $@ || rm -f $@
|
||||
|
||||
%.dis: %.o
|
||||
$(call pretty,OBJDUMP,$@)
|
||||
$Q$(OBJDUMP) -d $< > $@ || rm -f $@
|
||||
|
||||
%.o: %.c
|
||||
$(call pretty,CC,$@)
|
||||
$Q$(CC) $(CFLAGS) $(CFLAGS_THUMB) -MMD -c -o $@ $<
|
||||
|
|
Loading…
Reference in New Issue