diff --git a/14-checkpoint/Makefile b/14-checkpoint/Makefile index b611257..45cc9e4 100644 --- a/14-checkpoint/Makefile +++ b/14-checkpoint/Makefile @@ -11,7 +11,7 @@ CFLAGS = -g # First rule is run by default os-image.bin: boot/bootsect.bin kernel.bin - cat $^ > os-image.bin + cat $^ > $@ # '--oformat binary' deletes all symbols as a collateral, so we don't need # to 'strip' them manually on this case diff --git a/15-video-ports/Makefile b/15-video-ports/Makefile index b611257..45cc9e4 100644 --- a/15-video-ports/Makefile +++ b/15-video-ports/Makefile @@ -11,7 +11,7 @@ CFLAGS = -g # First rule is run by default os-image.bin: boot/bootsect.bin kernel.bin - cat $^ > os-image.bin + cat $^ > $@ # '--oformat binary' deletes all symbols as a collateral, so we don't need # to 'strip' them manually on this case diff --git a/16-video-driver/Makefile b/16-video-driver/Makefile index b611257..45cc9e4 100644 --- a/16-video-driver/Makefile +++ b/16-video-driver/Makefile @@ -11,7 +11,7 @@ CFLAGS = -g # First rule is run by default os-image.bin: boot/bootsect.bin kernel.bin - cat $^ > os-image.bin + cat $^ > $@ # '--oformat binary' deletes all symbols as a collateral, so we don't need # to 'strip' them manually on this case diff --git a/17-video-scroll/Makefile b/17-video-scroll/Makefile index b611257..45cc9e4 100644 --- a/17-video-scroll/Makefile +++ b/17-video-scroll/Makefile @@ -11,7 +11,7 @@ CFLAGS = -g # First rule is run by default os-image.bin: boot/bootsect.bin kernel.bin - cat $^ > os-image.bin + cat $^ > $@ # '--oformat binary' deletes all symbols as a collateral, so we don't need # to 'strip' them manually on this case diff --git a/18-interrupts/Makefile b/18-interrupts/Makefile index 8a68aa0..d7e16c5 100644 --- a/18-interrupts/Makefile +++ b/18-interrupts/Makefile @@ -11,7 +11,7 @@ CFLAGS = -g # First rule is run by default os-image.bin: boot/bootsect.bin kernel.bin - cat $^ > os-image.bin + cat $^ > $@ # '--oformat binary' deletes all symbols as a collateral, so we don't need # to 'strip' them manually on this case diff --git a/19-interrupts-irqs/Makefile b/19-interrupts-irqs/Makefile index 8a68aa0..d7e16c5 100644 --- a/19-interrupts-irqs/Makefile +++ b/19-interrupts-irqs/Makefile @@ -11,7 +11,7 @@ CFLAGS = -g # First rule is run by default os-image.bin: boot/bootsect.bin kernel.bin - cat $^ > os-image.bin + cat $^ > $@ # '--oformat binary' deletes all symbols as a collateral, so we don't need # to 'strip' them manually on this case diff --git a/20-interrupts-timer/Makefile b/20-interrupts-timer/Makefile index 4d6da94..3abf8ce 100644 --- a/20-interrupts-timer/Makefile +++ b/20-interrupts-timer/Makefile @@ -11,7 +11,7 @@ CFLAGS = -g # First rule is run by default os-image.bin: boot/bootsect.bin kernel.bin - cat $^ > os-image.bin + cat $^ > $@ # '--oformat binary' deletes all symbols as a collateral, so we don't need # to 'strip' them manually on this case diff --git a/21-shell/Makefile b/21-shell/Makefile index 1478294..b347fc8 100644 --- a/21-shell/Makefile +++ b/21-shell/Makefile @@ -12,7 +12,7 @@ CFLAGS = -g -m32 -nostdlib -nostdinc -fno-builtin -fno-stack-protector -nostartf # First rule is run by default os-image.bin: boot/bootsect.bin kernel.bin - cat $^ > os-image.bin + cat $^ > $@ # '--oformat binary' deletes all symbols as a collateral, so we don't need # to 'strip' them manually on this case diff --git a/22-malloc/Makefile b/22-malloc/Makefile index 1478294..b347fc8 100644 --- a/22-malloc/Makefile +++ b/22-malloc/Makefile @@ -12,7 +12,7 @@ CFLAGS = -g -m32 -nostdlib -nostdinc -fno-builtin -fno-stack-protector -nostartf # First rule is run by default os-image.bin: boot/bootsect.bin kernel.bin - cat $^ > os-image.bin + cat $^ > $@ # '--oformat binary' deletes all symbols as a collateral, so we don't need # to 'strip' them manually on this case diff --git a/23-fixes/Makefile b/23-fixes/Makefile index 65e577b..7c244b6 100644 --- a/23-fixes/Makefile +++ b/23-fixes/Makefile @@ -11,7 +11,7 @@ CFLAGS = -g -ffreestanding -Wall -Wextra -fno-exceptions -m32 # First rule is run by default os-image.bin: boot/bootsect.bin kernel.bin - cat $^ > os-image.bin + cat $^ > $@ # '--oformat binary' deletes all symbols as a collateral, so we don't need # to 'strip' them manually on this case