This commit is contained in:
nub31
2025-12-30 21:00:20 +01:00
parent cd31762fb0
commit 87c79f50be
4 changed files with 84 additions and 22 deletions

View File

@@ -1,16 +1,16 @@
CC = i686-elf-gcc
LD = i686-elf-ld
CC = x86_64-elf-gcc
LD = x86_64-elf-ld
AS = nasm
# Modify these settings here for defines and debug info
CFLAGS = -g -D DEBUG
LDFLAGS = -g
ASFLAGS = -g -F dwarf
CFLAGS =
LDFLAGS =
ASFLAGS =
# Do not modify
CFLAGS += -m32 -ffreestanding -fno-stack-protector -nostdlib -nostdinc -Wall -Wextra -std=c23 -Isrc/shared
CFLAGS += -m64 -ffreestanding -fno-stack-protector -nostdlib -nostdinc -Wall -Wextra -std=c23 -Isrc/shared
LDFLAGS +=
ASFLAGS += -f elf32
ASFLAGS += -f elf64
SRC_C := $(shell find src -name '*.c')
SRC_ASM := $(shell find src -name '*.asm')