From: Loup Vaillant Date: Mon, 25 Sep 2017 20:11:15 +0000 (+0200) Subject: Added a `check` target to the makefile, that means the same as `test` X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=77d7fefc918929eab653993b82446f36544e2c58;p=Monocypher.git Added a `check` target to the makefile, that means the same as `test` 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). --- diff --git a/makefile b/makefile index 9a65041..4d63e69 100644 --- a/makefile +++ b/makefile @@ -5,7 +5,10 @@ PREFIX=usr/local 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 @@ -40,6 +43,7 @@ clean: rm -rf lib/ rm -f *.out +check: test test: test.out ./test.out