From eea5bf4b859eb56c5772c58ca54937a90a10e7ee Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 10 Jun 2017 20:55:56 +0200 Subject: moved bootloader to subdirectory --- src/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 9688ebc..c89f9c3 100644 --- a/src/Makefile +++ b/src/Makefile @@ -24,8 +24,8 @@ image.bin: boot.bin kernel.bin magic.bin cat image.tmp magic.bin > image.bin truncate -s 1474560 image.bin -boot.bin: boot.asm boot_gdt.asm stage1_functions.asm stage2_real_functions.asm stage2_pm_functions.asm stage2_switch_mode.asm stage2_a20.asm - $(NASM) boot.asm -DMAGIC='"$(MAGIC)"' -f bin -o boot.bin +boot.bin: boot/boot.asm boot/boot_gdt.asm boot/stage1_functions.asm boot/stage2_real_functions.asm boot/stage2_pm_functions.asm boot/stage2_switch_mode.asm boot/stage2_a20.asm + $(NASM) boot/boot.asm -DMAGIC='"$(MAGIC)"' -f bin -o boot.bin kernel.bin: kernel.elf $(OBJCOPY) -O binary kernel.elf kernel.bin @@ -41,8 +41,8 @@ kernel.elf: kernel.o kernel_asm.o console.o vgatext.o serial.o port.o port_asm.o keyboard.o mouse.o \ string.o stdlib.o stdio.o setjmp.o -magic.bin: magic.asm - $(NASM) magic.asm -DMAGIC='"$(MAGIC)"' -f bin -o magic.bin +magic.bin: boot/magic.asm + $(NASM) boot/magic.asm -DMAGIC='"$(MAGIC)"' -f bin -o magic.bin kernel.o: kernel.c $(CC) $(CFLAGS) -c -o kernel.o kernel.c -- cgit v1.2.3-54-g00ecf