Added target for viewing the generated assembly
This commit is contained in:
parent
0f6256d9ce
commit
eb77cd1577
1 changed files with 4 additions and 0 deletions
4
makefile
4
makefile
|
@ -43,6 +43,10 @@ flash: $(TARGET).hex
|
||||||
qemu: $(TARGET).elf
|
qemu: $(TARGET).elf
|
||||||
qemu-system-avr -machine $(QEMU_MACHINE_NAME) -bios $(TARGET).elf
|
qemu-system-avr -machine $(QEMU_MACHINE_NAME) -bios $(TARGET).elf
|
||||||
|
|
||||||
|
# View the generated assembly
|
||||||
|
asm: $(TARGET).hex
|
||||||
|
avr-objdump -S $(TARGET).elf
|
||||||
|
|
||||||
# Clean
|
# Clean
|
||||||
clean:
|
clean:
|
||||||
rm -f $(OBJS) $(TARGET).elf $(TARGET).hex
|
rm -f $(OBJS) $(TARGET).elf $(TARGET).hex
|
||||||
|
|
Loading…
Reference in a new issue