makefile 670 B

12345678910111213141516171819202122232425262728293031
  1. # ----------------------------
  2. # Program Options
  3. # ----------------------------
  4. NAME ?= DEMO
  5. ICON ?= icon.png
  6. DESCRIPTION ?= "CE C SDK Demo"
  7. COMPRESSED ?= NO
  8. ARCHIVED ?= NO
  9. # ----------------------------
  10. # Debug Options
  11. # ----------------------------
  12. OUTPUT_MAP ?= NO
  13. include $(CEDEV)/include/.makefile
  14. clean_gfx:
  15. rm src/gfx/*.{c,h}
  16. deploy: bin/${NAME}.8xp
  17. tilp --cable=usb -n bin/${NAME}.8xp
  18. bin/clibs.8xg:
  19. test ! -f bin/clibs.8xg && wget \
  20. https://github.com/CE-Programming/libraries/releases/download/v8.8/clibs.8xg \
  21. -O bin/clibs.8xg
  22. emulator: debug bin/clibs.8xg
  23. CEmu -a bin/clibs.8xg -s bin/${NAME}.8xp --launch ${NAME}