adds some debug flags for GDB support
This commit is contained in:
5
Makefile
5
Makefile
@ -2,7 +2,10 @@
|
||||
# or maybe add it to a bash script instead? im not sure
|
||||
|
||||
CC = i686-elf-gcc
|
||||
CFLAGS = -m32 -ffreestanding -Wall -Wextra -Werror -Wpedantic --sysroot=$(PWD)/sysroot -isystem=/usr/include -Iinclude -MD -D__TESTING__
|
||||
|
||||
DEBUG_FLAGS = -D__TESTING__ -g
|
||||
|
||||
CFLAGS = -m32 -ffreestanding -Wall -Wextra -Werror -Wpedantic --sysroot=$(PWD)/sysroot -isystem=/usr/include -Iinclude -MD $(DEBUG_FLAGS)
|
||||
|
||||
AS = nasm
|
||||
ASFLAGS = -f elf
|
||||
|
Reference in New Issue
Block a user