litex/tools/Makefile

17 lines
227 B
Makefile

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