summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAleksa Vuckovic <aleksav013@gmail.com>2022-08-03 21:28:15 +0200
committerAleksa Vuckovic <aleksav013@gmail.com>2022-08-03 21:28:15 +0200
commitd4349352a57eb00ce411b4c0542d3207357aecbe (patch)
tree5bf1883ce59cfefedb2e8873e203b381cb7573f3 /Makefile
parentc0a8113ba0b7cd6984cc685ec63f79bef3bc9899 (diff)
drawing lines to fb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index db39540..8c41c59 100644
--- a/Makefile
+++ b/Makefile
@@ -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