From cb82f578cadb97cdfc79b7e8e160a7a598265a73 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 4 Mar 2016 23:57:16 +0100 Subject: Makefile: add check rule MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ee672f0..1d86a86 100644 --- a/Makefile +++ b/Makefile @@ -70,7 +70,10 @@ libzahl.a: $(OBJ) test: test.c libzahl.a $(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -o $@ $^ +check: test + ./test + clean: -rm -- *.o *.su *.a *.so test 2>/dev/null -.PHONY: all clean +.PHONY: all check clean -- cgit v1.2.3-70-g09d2