mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-24 02:48:07 +11:00
9216057db8
I implement the screen using XCB which is much more friendly than z80e's SDL+CMake for development machines that want to install minimal dependencies (for example, a port-less OpenBSD rig).
23 lines
435 B
Makefile
23 lines
435 B
Makefile
TARGET = os.bin
|
|
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 > $@
|
|
|
|
os.rom: $(TARGET)
|
|
cp $(TARGET) $@
|
|
truncate -s 1M $@
|
|
|
|
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
|