]> git.dujemihanovic.xyz Git - nameless-os.git/blobdiff - Makefile
Enable paging in bootloader
[nameless-os.git] / Makefile
index 1c00c22f46aa77b1afb10f0de892868f15dfcc94..c823fc4d53015e5c1e7e9f783f4ebf2be3b7af80 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,11 +2,12 @@ export AS = yasm
 export CC = i686-elf-gcc
 QEMU = qemu-system-i386 -monitor stdio
 
-GIT_REV = $(shell git describe --long HEAD)
+export GIT_REV = $(shell git describe --long HEAD)
 
-CFLAGS = -std=gnu89 -g -Iinclude/arch/x86 -ffreestanding -DGIT_COMMIT=\"$(GIT_REV)\"
+CFLAGS = -g -Iinclude/arch/x86 -ffreestanding -DGIT_COMMIT=\"$(GIT_REV)\"
 
 KERNEL_OBJ = kernel/entry.o kernel/arch/x86/tty/tty.o kernel/drivers/irq/i8259a.o kernel/arch/x86/irq/idt.o kernel/arch/x86/irq/sample_handler.o kernel/kernel.o
+
 BOOTLOADER_OBJ = boot/x86/mbr boot/x86/vbr-fat32 boot/x86/stage3/LOADER.BIN
 
 default: kernel/kernel.elf bootloader