litex/tools/Makefile
Sebastien Bourdeauducq 3f22930b1f tools: add byteswap
2013-02-19 13:22:35 +01:00

16 lines
242 B
Makefile

TARGETS=mkmmimg flterm byteswap
CC=gcc
all: $(TARGETS)
%: %.c
$(CC) -O2 -Wall -I../common -s -o $@ $<
install: mkmmimg flterm
install -d /usr/local/bin
install -m755 -t /usr/local/bin $^
.PHONY: clean install
clean:
rm -f $(TARGETS)