summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-03-01 16:43:10 -0500
committerJakob Kaivo <jkk@ung.org>2019-03-01 16:43:10 -0500
commit5a0c02d1c183c55ab6ad01ee336d25071e9b0b25 (patch)
tree68f0506e825544581c7cf4c7a42219a87cff524b /Makefile
parent2eb7295f3bae5729da95a5edf4ab93d06125bfe6 (diff)
add test target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f553f42c..7f069af5 100644
--- a/Makefile
+++ b/Makefile
@@ -18,6 +18,9 @@ $(TOPDIR)/.headers.mk: $(TOPDIR)/mk.sh
headers $(INCDIR): $(TOPDIR)/.headers.mk $(TOPDIR)/mkh.sh
$(MAKE) -f $(TOPDIR)/.headers.mk headers
+test:
+ cd tests && $(MAKE) && ./testlibc
+
ctags:
ctags $$(find src -name \*.c)