include config.mk .PHONY: all clean install test all: scroll clean: rm -f scroll install: scroll cp scroll ${BINDIR} cp scroll.1 ${MAN1DIR} test: scroll # check usage if ./scroll; then exit 1; fi # check exit passthrough of child if ! ./scroll true; then exit 1; fi if ./scroll false; then exit 1; fi