+floppy.img: boot.img
+ dd if=/dev/zero of=$@ bs=512 count=2880
+ dd if=$< of=$@ conv=notrunc
+
+boot.img: bootldr.bin $(bin)
+ cat bootldr.bin $(bin) >$@
+
+# bootldr.bin will contain only .boot and .boot2
+bootldr.bin: $(elf)
+ objcopy -O binary -j '.boot*' $< $@
+
+# the main binary will contain every section *except* .boot and .boot2