From 5a80576577c9b054e879341bee6e0653d04f21d4 Mon Sep 17 00:00:00 2001 From: Imanol-Mikel Barba Sabariego Date: Sun, 30 Mar 2014 19:54:24 +0000 Subject: [PATCH] --- Makefile | 9 ++++----- usb.img | Bin 1474560 -> 0 bytes 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 0e28fd2..5583a68 100644 --- a/Makefile +++ b/Makefile @@ -2,19 +2,18 @@ TARGETS = boot_floppy.bin boot_usb.bin second_binary.bin boot_floppy.bin: boot_floppy.asm floppy.img - nasm boot_floppy.asm -f bin -o boot_floppy.bin + nasm boot_floppy.asm -f bin -o boot_floppy.bin; \ dd if=boot_floppy.bin of=floppy.img bs=512 count=1 conv=notrunc boot_usb.bin: boot_usb.asm usb.img - nasm boot_usb.asm -f bin -o boot_usb.bin + nasm boot_usb.asm -f bin -o boot_usb.bin; \ dd if=boot_usb.bin of=usb.img bs=512 count=1 conv=notrunc second_binary.bin: second_binary.asm floppy.img usb.img - nasm second_binary.asm -f bin -o second_binary.bin - dd if=second_binary.bin of=floppy.img bs=512 count=1 seek=3 conv=notrunc + nasm second_binary.asm -f bin -o second_binary.bin; \ + dd if=second_binary.bin of=floppy.img bs=512 count=1 seek=3 conv=notrunc; \ dd if=second_binary.bin of=usb.img bs=512 count=1 seek=3 conv=notrunc - floppy.img: dd if=/dev/zero of=floppy.img bs=512 count=2880 diff --git a/usb.img b/usb.img index 0c49e79..fd45395 100644 Binary files a/usb.img and b/usb.img differ -- libgit2 0.22.2