Makefile 320 B

123456789101112131415
  1. arm:
  2. arm-none-eabi-gcc --specs=rdimon.specs -lgcc -lc -lm -lrdimon -g -DARM speck_asm.c -o speck.arm
  3. run:
  4. qemu-arm -g 1234 ./speck.arm
  5. debug:
  6. arm-none-eabi-gdb --eval-command "target remote localhost:1234" ./speck.arm
  7. x86:
  8. gcc speck_asm.c -o speck.x86
  9. clean:
  10. rm -rf *.core
  11. rm -rf *.d
  12. rm -rf *.arm
  13. rm -rf *.x86