commit cb82f578cadb97cdfc79b7e8e160a7a598265a73
Author:     Mattias Andrée <[email protected]>
AuthorDate: Fri Mar 4 23:57:16 2016 +0100
Commit:     Mattias Andrée <[email protected]>
CommitDate: Fri Mar 4 23:57:16 2016 +0100

    Makefile: add check rule
    
    Signed-off-by: Mattias Andrée <[email protected]>

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

Reply via email to