include config.mk .PHONY: all test clean install uninstall all: $(MAKE) -C src all test: all $(MAKE) -C tests clean: $(MAKE) -C src clean install: all mkdir -p ${DESTDIR}${PREFIX}/bin cp -f src/diff-dd ${DESTDIR}${PREFIX}/bin chmod 755 ${DESTDIR}${PREFIX}/bin/diff-dd mkdir -p ${DESTDIR}${MANPREFIX}/man5 cp -f man/diff-dd.5 ${DESTDIR}${MANPREFIX}/man5/diff-dd.5 chmod 644 ${DESTDIR}${MANPREFIX}/man5/diff-dd.5 uninstall: rm -f ${DESTDIR}${PREFIX}/bin/diff-dd \ ${DESTDIR}${MANPREFIX}/man5/diff-dd.5