# This is a quick and dirty makefile which doesn't use any
# of the real features of "make" - anyway, it works.
all:
	cpp linuxdemo.S -o linuxdemo.s
	as -o linuxdemo.o linuxdemo.s
	ld -Ttext 0x10000 -s --oformat binary -o default.xbe linuxdemo.o
	dd if=/dev/zero bs=4096 count=13 >> default.xbe

clean:
	rm -f *.o *.s default.xbe
