Automake specifies that `make check` runs the test suite. We should
respect such conventions. `make test` still works ("test" is a good
name for such a target).
PKGCONFIG=$(DESTDIR)/$(PREFIX)/lib/pkgconfig
MAN_DIR=$(DESTDIR)/$(PREFIX)/share/man/man3
-.PHONY: all install-doc library static-library dynamic-library clean install test speed
+.PHONY: all library static-library dynamic-library \
+ install install-doc \
+ check test speed \
+ clean
all : library
install: library src/monocypher.h install-doc
rm -rf lib/
rm -f *.out
+check: test
test: test.out
./test.out