massive overhaul to my exception system
This commit is contained in:
4
Makefile
4
Makefile
@ -3,7 +3,7 @@
|
||||
|
||||
CC = i686-elf-gcc
|
||||
|
||||
DEBUG_FLAGS = -D__TESTING__ -g -Wno-div-by-zero
|
||||
DEBUG_FLAGS = -D__TESTING__ -g
|
||||
|
||||
CFLAGS = -m32 -ffreestanding -Wall -Wextra -Werror -Wpedantic --sysroot=$(PWD)/sysroot -isystem=/usr/include -Iinclude -MD $(DEBUG_FLAGS)
|
||||
|
||||
@ -39,7 +39,7 @@ all: kernel.elf
|
||||
env: install-headers install-libs # TODO: change this to a file specific target, so it doesnt recompile everytime, and so we can move as a prereq on kernel.elf
|
||||
util/./gen-clangd.sh
|
||||
|
||||
kernel.elf: install-headers install-libs $(c_kern_objects) $(asm_kern_objects)
|
||||
kernel.elf: install-headers install-libs env $(c_kern_objects) $(asm_kern_objects)
|
||||
$(CC) $(CFLAGS) -T $(shell find . -name "link.ld") -o $@ $(c_kern_objects) $(asm_kern_objects) -nostdlib -lk -lgcc
|
||||
|
||||
os.iso: kernel.elf
|
||||
|
Reference in New Issue
Block a user