summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile
diff options
context:
space:
mode:
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