Add -g to make for debug info
authorJack Miller <jack@codezen.org>
Fri, 20 Mar 2015 18:15:26 +0000 (13:15 -0500)
committerJack Miller <jack@codezen.org>
Sat, 19 Mar 2016 19:02:48 +0000 (14:02 -0500)
Makefile

index 1bf4a46..ee9e102 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ CPP=cpp
 INCLUDE_DIRS = include/
 
 CPPFLAGS = -I ${INCLUDE_DIRS}
-CFLAGS = -c -std=gnu99 -pedantic -Wall -nostdlib -ffreestanding -mcmodel=kernel -I ${INCLUDE_DIRS}
+CFLAGS = -c -std=gnu99 -pedantic -Wall -nostdlib -ffreestanding -mcmodel=kernel -g -I ${INCLUDE_DIRS}
 LDFLAGS = -T linker.ld -nostdlib -n
 NASMFLAGS = -f elf64