mirror of
https://github.com/antonblanchard/microwatt.git
synced 2026-01-11 23:43:15 +00:00
liburjtag isn't in Debian, so usually we're pointing at a urjtag build directory when building mw_debug Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
14 lines
272 B
Makefile
14 lines
272 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) -Wl,-Bstatic -lurjtag -Wl,-Bdynamic -lftdi1 -lusb-1.0 -lreadline
|
|
|
|
clean:
|
|
rm -f mw_debug
|
|
distclean:
|
|
rm -f *~
|
|
|