Makefile: qemu targets and fixes

This commit is contained in:
Matheus
2023-04-08 01:56:25 -03:00
parent 4669717305
commit 2f8e93faa3
2 changed files with 11 additions and 4 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ TARGET=x86-64
INCDIR=$(shell pwd)/include
ARCHDIR=$(shell pwd)/arch/$(TARGET)/
LDFLAGS=-ffreestanding -nostdlib -lgcc -Wl,-T,"$(ARCHDIR)/kernel.ld" -debug
CFLAGS=-ffreestanding -mcmodel=kernel -O2 -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -nostdlib -nostdinc -I "${INCDIR}"
CFLAGS=-ffreestanding -mcmodel=kernel -O2 -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -nostdlib -I "${INCDIR}"
ASFLAGS=-felf64
astral: $(OBJS)