diff options
| author | Aleksa Vuckovic <aleksav013@gmail.com> | 2022-08-03 21:28:15 +0200 |
|---|---|---|
| committer | Aleksa Vuckovic <aleksav013@gmail.com> | 2022-08-03 21:28:15 +0200 |
| commit | d4349352a57eb00ce411b4c0542d3207357aecbe (patch) | |
| tree | 5bf1883ce59cfefedb2e8873e203b381cb7573f3 /Makefile | |
| parent | c0a8113ba0b7cd6984cc685ec63f79bef3bc9899 (diff) | |
drawing lines to fb
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -10,7 +10,7 @@ CFLAGS = -Wall -Werror -Wno-error=infinite-recursion -O -fno-omit-frame-pointer # -mgeneral-regs-only disables SIMD instructions CFLAGS += -MD -O3 -mgeneral-regs-only CFLAGS += -ffreestanding -fno-common -nostdlib -CFLAGS += -I. +CFLAGS += -I include CFLAGS += $(shell $(CC) -fno-stack-protector -E -x c /dev/null >/dev/null 2>&1 && echo -fno-stack-protector) CFLAGS += -fno-pie -no-pie -fno-pic LDFLAGS = -z max-page-size=4096 @@ -22,6 +22,9 @@ OBJS = \ $K/boot.o \ $K/boot64.o \ $K/main.o \ + $K/graphics.o \ + $K/multiboot2.o \ + $K/debug.o \ kernel.iso: kernel.bin $K/grub.cfg mkdir -p isodir/boot/grub |
