all: wdd

wdd:
	cc $(CFLAGS) wdd.c -o wdd

install: wdd
	install -D -m755 wdd $(DESTDIR)/sbin/wdd
	install -D -m755 wdd.8 $(DESTDIR)/usr/share/man/man8/wdd.8

clean:
	rm -f wdd
