litex/tools/Makefile

17 lines
213 B
Makefile
Raw Normal View History

2012-02-05 13:14:24 -05:00
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)