Freestanding headers

This commit is contained in:
2025-08-10 22:24:30 +02:00
parent 95173a17bd
commit d4f06b4538
13 changed files with 758 additions and 1 deletions

View File

@ -2,10 +2,11 @@
ARCH ?= x86_64
CFLAGS := -ffreestanding -Wall -Wextra -g -fcommon
CFLAGS := -ffreestanding -Wall -Wextra -g -fcommon -nostdinc
CFLAGS += -I. \
-I../limine \
-I./std/include \
-DPRINTF_INCLUDE_CONFIG_H=1
LDFLAGS := -nostdlib -static -T arch/$(ARCH)/link.ld