mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-01-13 23:26:59 +00:00
This describes how to build the tool on Fedora, and on Debian which lacks a packaged liburjtag as of mid 2020. Signed-off-by: Joel Stanley <joel@jms.id.au>
14 lines
216 B
Makefile
14 lines
216 B
Makefile
CFLAGS = -O2 -g -Wall -std=c99
|
|
# CFLAGS += -I urjtag/urjtag/include/ -L urjtag/urjtag/src/.libs/
|
|
|
|
all: mw_debug
|
|
|
|
mw_debug: mw_debug.c
|
|
$(CC) -o $@ $^ $(CFLAGS) -lurjtag
|
|
|
|
clean:
|
|
rm -f mw_debug
|
|
distclean:
|
|
rm -f *~
|
|
|