re-factored the makefile and improved qemu debug experience.
[lunaix-os.git] / lunaix-os / config / make-cc
diff --git a/lunaix-os/config/make-cc b/lunaix-os/config/make-cc
new file mode 100644 (file)
index 0000000..416ae68
--- /dev/null
@@ -0,0 +1,7 @@
+CC := i686-elf-gcc
+AS := i686-elf-as
+
+O := -O2
+W := -Wall -Wextra
+CFLAGS := -std=gnu99 -ffreestanding $(O) $(W)
+LDFLAGS := -ffreestanding $(O) -nostdlib -lgcc
\ No newline at end of file