Improved kernel's loading function

This commit is contained in:
ice-bit
2020-08-17 17:57:06 +02:00
parent 500ef112b9
commit 50dc3ab1c7
5 changed files with 30 additions and 153 deletions

View File

@@ -1,8 +1,8 @@
OBJS = multiboot.asm.o kernel_loader.asm.o ports.asm.o \
OBJS = kernel_loader.asm.o ports.asm.o \
gdt.asm.o idt.asm.o interrupts.asm.o
ASM = nasm
ASMFLAGS = -f elf
all: $(OBJS)
%.asm.o: %.asm
$(ASM) $(ASMFLAGS) $< -o $@
$(ASM) $(ASMFLAGS) $< -o $@