cleans up the arch folder some
This commit is contained in:
4
Makefile
4
Makefile
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user