litex/tools/Makefile

17 lines
242 B
Makefile
Raw Normal View History

2013-02-19 07:22:35 -05:00
TARGETS=mkmmimg flterm byteswap
CC=gcc
2012-02-05 13:14:24 -05:00
all: $(TARGETS)
%: %.c
2012-05-16 04:20:04 -04:00
$(CC) -O2 -Wall -I../common -s -o $@ $<
2012-02-05 13:14:24 -05:00
install: mkmmimg flterm
install -d /usr/local/bin
install -m755 -t /usr/local/bin $^
2012-02-05 13:14:24 -05:00
.PHONY: clean install
clean:
rm -f $(TARGETS)