Added 32 nasm flag and fixed clean Make directive

This commit is contained in:
Marco Cetica
2020-08-25 01:09:22 +02:00
parent 217893ec9d
commit 6e5f0a4089
2 changed files with 5 additions and 2 deletions

View File

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