summaryrefslogtreecommitdiff
path: root/Makefile
blob: f337f854faf98ba49e3041b7bc3fa06dbf48a2d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
include config.mk

src/randsleep: src/randsleep.c
	${CC} ${CFLAGS} ${LDFLAGS} -o $@ $<

install: src/randsleep
	install -m 755 src/randsleep ${bin_dir}
	install -m 644 src/randsleep.1 ${man_dir}/man1

uninstall:
	rm -f ${bin_dir}/randsleep ${man_dir}/man1/randsleep.1

clean:
	rm -f src/randsleep

.PHONY: install uninstall clean