summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-08-02 14:12:21 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-08-02 18:19:20 +0200
commita77d553a3a0f7d726a9134497b3a3263adf82536 (patch)
treead7cc7b8ab20cb296897e0330a1b5c83fed3d3c0 /src/Makefile
parent13e89d486079dfbe3b80a62d810c5ec4fad4c88b (diff)
selftest: move to subfolder
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 8ef89d6..49d42ab 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -26,6 +26,9 @@ check:
$(MAKE) -C $(KERNELDIR) M=$(PWD) C=2 CF="-D__CHECK_ENDIAN__" CONFIG_WIREGUARD_DEBUG=y
$(MAKE) -C tools check
+cloc: clean
+ cloc ./*.c ./*.h
+
include tests/debug.mk
.PHONY: all module module-debug tools install clean core-cloc check