summaryrefslogtreecommitdiff
path: root/Makefile
blob: ed55e64b3b9715a64f9d4330008bb6844a8b4aad (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 src/randsleep

clean:
	rm -f src/randsleep

.PHONY: all install uninstall clean