1
0
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:
Joel Stanley
2020-05-11 13:22:00 +09:30
parent 6d36ef93d9
commit fa90f0dbb1
2 changed files with 13 additions and 7 deletions

View File

@@ -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