cleans up the arch folder some

This commit is contained in:
2025-05-29 10:07:31 -04:00
parent e4f160e8b6
commit 9b980767d7
6 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,6 @@
#TODO: add a rule to setup the cross compiler
# or maybe add it to a bash script instead? im not sure
CC = i686-elf-gcc
CFLAGS = -m32 -ffreestanding -Wall -Wextra -Werror -Wpedantic --sysroot=$(PWD)/sysroot -isystem=/usr/include -Iinclude -MD
@ -40,6 +43,7 @@ os.iso: kernel.elf
run: os.iso
bochs -f util/bochsrc.txt -q
libc.a: CFLAGS:=$(CFLAGS) -D__is_libc # Target rule to define __is_libc
libc.a: $(libc_objs)
$(AR) rcs $@ $(libc_objs)