This commit is contained in:
nub31
2025-09-03 13:32:40 +02:00
parent 87d1a291f7
commit 204c747c43
22 changed files with 111 additions and 31 deletions

View File

@@ -2,13 +2,12 @@ CC = x86_64-elf-gcc
LD = x86_64-elf-ld
AS = nasm
TARGET_PATH = src/arch/x86_64
CFLAGS = -m64 -ffreestanding -nostdlib -fno-builtin -Wall -Wextra -Wshadow -std=c11 -I src/stdlib -g
CFLAGS = -m64 -ffreestanding -nostdinc -nostdlib -fno-builtin -Wall -Wextra -Wshadow -std=c11 -I src/stdlib -g
LDFLAGS = -g
ASFLAGS = -f elf64 -g -F dwarf
SRC_C := $(shell find src -name '*.c' )
SRC_ASM := $(shell find src -name '*.asm' )
SRC_C := $(shell find src -name '*.c')
SRC_ASM := $(shell find src -name '*.asm')
OBJS := $(patsubst src/%.c, .build/%.o, $(SRC_C)) $(patsubst src/%.asm, .build/%.o, $(SRC_ASM))