adds some extensibility through putting the term into a variable

This commit is contained in:
2025-06-03 19:11:15 -04:00
parent af92026a74
commit 01076e24b8
2 changed files with 3 additions and 4 deletions

View File

@ -12,6 +12,8 @@ LDFLAGS = -T $(shell find . -name "link.ld") -melf_i386 --sysroot=$(PWD)/sysroot
AR = i686-elf-ar
TERM_EXEC = kitty --hold sh -c
c_kern_objects := $(patsubst %.c,%.o,$(shell find kernel/ -name "*.c"))
asm_kern_objects := $(patsubst %.s,%.o,$(shell find kernel/ -name "*.s"))
@ -44,7 +46,7 @@ os.iso: kernel.elf
grub-mkrescue -o $@ iso
run: os.iso
kitty --hold sh -c "gdb kernel.elf -x util/gdbcmds" &
$(TERM_EXEC) "gdb kernel.elf -x util/gdbcmds" &
qemu-system-i386 -s -cdrom os.iso
#TODO: when i inevitably do add libc, this is going to fail because they have the same name as the libk objects