makefile 646 B

123456789101112131415161718192021222324252627282930
  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. wget https://github.com/CE-Programming/libraries/releases/download/v8.8/clibs.8xg \
  20. -O bin/clibs.8xg
  21. emulator: bin/${NAME}.8xp bin/clibs.8xg
  22. CEmu -a bin/clibs.8xg -s bin/${NAME}.8xp --launch ${NAME}