2012-02-08 09:08:03 -05:00
|
|
|
TARGETS=mkmmimg flterm
|
2012-02-05 13:14:24 -05:00
|
|
|
CC=clang
|
|
|
|
|
|
|
|
all: $(TARGETS)
|
|
|
|
|
|
|
|
%: %.c
|
|
|
|
$(CC) -O2 -Wall -I. -s -o $@ $<
|
|
|
|
|
|
|
|
install: mkmmimg flterm
|
2012-02-08 09:09:07 -05:00
|
|
|
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)
|