litex/tools/Makefile
Sebastien Bourdeauducq 17cd8dd479 Add tools
2012-02-05 19:14:24 +01:00

16 lines
213 B
Makefile

TARGETS=bin2hex mkmmimg flterm
CC=clang
all: $(TARGETS)
%: %.c
$(CC) -O2 -Wall -I. -s -o $@ $<
install: mkmmimg flterm
cp mkmmimg /usr/bin
cp flterm /usr/bin
.PHONY: clean install
clean:
rm -f $(TARGETS)