commit cb82f578cadb97cdfc79b7e8e160a7a598265a73
Author: Mattias Andrée <maandree_AT_kth.se>
AuthorDate: Fri Mar 4 23:57:16 2016 +0100
Commit: Mattias Andrée <maandree_AT_kth.se>
CommitDate: Fri Mar 4 23:57:16 2016 +0100
Makefile: add check rule
Signed-off-by: Mattias Andrée <maandree_AT_kth.se>
diff --git a/Makefile b/Makefile
index ee672f0..1d86a86 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -70,7 +70,10 @@ libzahl.a: $(OBJ)
test: test.c libzahl.a
$(CC) $(LDFLAGS) $(CFLAGS) $(CPPFLAGS) -o $_AT_ $^
+check: test
+ ./test
+
clean:
-rm -- *.o *.su *.a *.so test 2>/dev/null
-.PHONY: all clean
+.PHONY: all check clean
Received on Fri Mar 04 2016 - 23:57:20 CET
This archive was generated by hypermail 2.3.0
: Sat Mar 05 2016 - 00:00:48 CET