mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-01-25 19:46:10 +00:00
mw_debug: Add CFLAGS and fix warnings
CFLAGS was defined but not used anywhere. This adds them to the compile line, and fixes the warnings (and errors!) that result. Signed-off-by: Joel Stanley <joel@jms.id.au>
This commit is contained in:
@@ -3,7 +3,7 @@ CFLAGS = -O2 -g -Wall -std=c99
|
||||
all: mw_debug
|
||||
|
||||
mw_debug: mw_debug.c
|
||||
$(CC) -o $@ $^ -lurjtag
|
||||
$(CC) -o $@ $^ $(CFLAGS) -lurjtag
|
||||
|
||||
clean:
|
||||
rm -f mw_debug
|
||||
|
||||
Reference in New Issue
Block a user