From d4511b5f0c30622185fedc1f619144d3dc55e3d0 Mon Sep 17 00:00:00 2001 From: mariusmonton Date: Sun, 21 Feb 2021 13:51:33 +0100 Subject: [PATCH] enable debug --- tests/C/dhrystone/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/C/dhrystone/Makefile b/tests/C/dhrystone/Makefile index c41f1e5..b1d8b53 100644 --- a/tests/C/dhrystone/Makefile +++ b/tests/C/dhrystone/Makefile @@ -5,11 +5,12 @@ TARGET_ARCH = riscv32 CC = riscv32-unknown-elf-gcc # compiling flags here -CFLAGS = -Wall -I. -O0 -static -march=rv32imac -mabi=ilp32 --specs=nosys.specs +CFLAGS = -Wall -I. -O0 -static -march=rv32imac -mabi=ilp32 --specs=nosys.specs -ggdb + LINKER = riscv32-unknown-elf-gcc # linking flags here -LDFLAGS = -I. -static +LDFLAGS = -I. -static -g LIBS = $(EXTRA_LIBS) @@ -48,3 +49,5 @@ clean: remove: clean @$(rm) $(BINDIR)/$(TARGET) @echo "Executable removed!" + +all: $(BINDIR)/$(TARGET)