Another rule to disassemble board objects

This commit is contained in:
Jim Paris 2010-09-27 20:04:24 -04:00
parent c7c79fc9b4
commit 0e6d5bc9dc

View File

@ -32,6 +32,10 @@ $(OBJDIR)/%.o: %.S $(OBJDIR)/board.h
$(CC) $(AFLAGS) -MMD -c -o $@ $< $(CC) $(AFLAGS) -MMD -c -o $@ $<
@$(FINALIZE_DEPENDENCY) @$(FINALIZE_DEPENDENCY)
$(OBJDIR)/%.dis: $(OBJDIR)/%.o
$(call pretty,OBJDUMP,$@)
$Q$(OBJDUMP) -d $< > $@ || rm -f $@
ifneq ($(MAKECMDGOALS),clean) ifneq ($(MAKECMDGOALS),clean)
-include $(wildcard $(OBJDIR)/*.d) -include $(wildcard $(OBJDIR)/*.d)
endif endif