From 77d7fefc918929eab653993b82446f36544e2c58 Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Mon, 25 Sep 2017 22:11:15 +0200 Subject: [PATCH] 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). --- makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.47.3