From 80a27faec1221dc501c08f0527b821bdba403bdf Mon Sep 17 00:00:00 2001 From: DaveHodder67 Date: Mon, 6 Jul 2015 21:31:27 +0100 Subject: debugger friendly simulator build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1aaaf46..4436af4 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ $(HEXTOSYX): # build the simulator (it's a very basic test of the code before it runs on the device!) $(SIMULATOR): - $(HOST_GCC) -O0 -std=c99 -Iinclude $(TOOLS)/simulator.c $(SOURCES) -o $(SIMULATOR) + $(HOST_GCC) -g3 -O0 -std=c99 -Iinclude $(TOOLS)/simulator.c $(SOURCES) -o $(SIMULATOR) $(HEX): $(ELF) $(OBJCOPY) -O ihex $< $@ -- cgit v1.2.1