+all: smmload
+
+smmload: $(OBJS)
+ $(CROSS)ld -o smmload $(OBJS) -Ttext=0x100000
+
+realmode.bin: realmode.asm
+ nasm -o realmode.bin realmode.asm
+
+realmode.o: realmode.bin
+ $(CROSS)objcopy -I binary -B i386 -O elf32-i386 realmode.bin realmode.o
+
+clean:
+ rm -f $(OBJS) realmode.bin smmload