mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 20:08:06 +11:00
097c677641
This allows us to get rid of the zasm.sh wrapper.
20 lines
405 B
Makefile
20 lines
405 B
Makefile
TARGET = os.rom
|
|
BASEDIR = ../..
|
|
ZASM = $(BASEDIR)/emul/zasm/zasm
|
|
KERNEL = $(BASEDIR)/kernel
|
|
APPS = $(BASEDIR)/apps
|
|
MKTIUPGRADE = mktiupgrade
|
|
|
|
.PHONY: all
|
|
all: $(TARGET)
|
|
$(TARGET): glue.asm
|
|
$(ZASM) $(KERNEL) $(APPS) < glue.asm > $@
|
|
truncate -s 1M $@
|
|
|
|
os.8xu: $(TARGET)
|
|
$(MKTIUPGRADE) -p -k keys/0A.key -d TI-84+ $(TARGET) $@ 00
|
|
|
|
.PHONY: send
|
|
send: os.8xu
|
|
tilp -n --calc ti84+ --cable DirectLink os.8xu
|