Replace target file as $@ .

This commit is contained in:
garenchan 2018-11-16 10:47:11 +08:00
parent 7aff64740e
commit dcd3686d37
10 changed files with 10 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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