From 3c5cb3bbc606053ec9e0136c83a33c0515a294a8 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Sun, 12 Sep 2021 18:46:00 +0200 Subject: [PATCH] Stuff --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 1f03904..90f75bb 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ all: os-image run: all qemu-system-x86_64 os-image + drun: clean run grub: eOS.iso @@ -24,6 +25,7 @@ os-image: bootloader/bootloader.bin kernel.bin kernel.bin: kernel/kernel_entry.o $(OBJ) gcc -o $@ $^ -Wl,--oformat=binary -ffreestanding -nostdlib -shared -Ttext 0x1000 -m32 + %.o : %.c ${HEADERS} gcc -fno-pie -m32 -Os -ffreestanding -c $< -o $@