1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-02-07 16:41:37 +00:00
Files
antonblanchard.microwatt/scripts/mw_debug/Makefile
Joel Stanley fa90f0dbb1 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>
2020-05-19 13:27:35 +09:30

13 lines
149 B
Makefile

CFLAGS = -O2 -g -Wall -std=c99
all: mw_debug
mw_debug: mw_debug.c
$(CC) -o $@ $^ $(CFLAGS) -lurjtag
clean:
rm -f mw_debug
distclean:
rm -f *~