mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-10 02:18:04 +11:00
b3e865d0fb
Much faster!
32 lines
561 B
Makefile
32 lines
561 B
Makefile
TARGET = os.bin
|
|
BASEDIR = ../..
|
|
CDIR = $(BASEDIR)/cvm
|
|
STAGE = $(CDIR)/stage
|
|
EMUL = $(BASEDIR)/emul/hw/ti/ti84
|
|
MKTIUPGRADE = mktiupgrade
|
|
|
|
.PHONY: all
|
|
all: $(TARGET)
|
|
$(TARGET): xcomp.fs $(STAGE)
|
|
cat xcomp.fs | $(STAGE) > $@
|
|
|
|
$(STAGE):
|
|
$(MAKE) -C $(CDIR) stage
|
|
|
|
$(EMUL):
|
|
$(MAKE) -C ${@:%/ti84=%}
|
|
|
|
.PHONY: emul
|
|
emul: $(EMUL) $(TARGET)
|
|
$(EMUL) $(TARGET)
|
|
|
|
os.rom: $(TARGET)
|
|
dd if=$(TARGET) bs=1M of=$@ conv=sync
|
|
|
|
os.8xu: os.rom
|
|
$(MKTIUPGRADE) -p -k keys/0A.key -d TI-84+ os.rom $@ 00
|
|
|
|
.PHONY: send
|
|
send: os.8xu
|
|
tilp -n --calc ti84+ --cable DirectLink os.8xu
|