Mirror of CollapseOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
678B

  1. TARGET = os.bin
  2. BASE = ../..
  3. CDIR = $(BASE)/cvm
  4. STAGE = $(CDIR)/stage
  5. BLKPACK = $(BASE)/tools/blkpack
  6. EMUL = $(BASE)/emul/hw/ti/ti84
  7. MKTIUPGRADE = mktiupgrade
  8. .PHONY: all
  9. all: $(TARGET)
  10. $(TARGET): xcomp.fs $(STAGE) blkfs
  11. $(STAGE) blkfs < xcomp.fs > $@
  12. $(BLKPACK):
  13. $(MAKE) -C ../tools
  14. blkfs: $(BLKPACK)
  15. $(BLKPACK) $(BASE)/blk blk > $@
  16. $(STAGE):
  17. $(MAKE) -C $(CDIR) stage
  18. $(EMUL):
  19. $(MAKE) -C ${@:%/ti84=%}
  20. .PHONY: emul
  21. emul: $(EMUL) $(TARGET)
  22. $(EMUL) $(TARGET)
  23. os.rom: $(TARGET)
  24. dd if=$(TARGET) bs=1M of=$@ conv=sync
  25. os.8xu: os.rom
  26. $(MKTIUPGRADE) -p -k keys/0A.key -d TI-84+ os.rom $@ 00
  27. .PHONY: send
  28. send: os.8xu
  29. tilp -n --calc ti84+ --cable DirectLink os.8xu