aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-12 14:28:52 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-17 19:26:07 +0200
commit4a93d257ec39e0cee4f5ace6ba1f2ef20d247782 (patch)
tree29cd2a1cb8a7809598a3cf8fbb64a4857be15afe /src/Makefile
parentreceive: improve control flow (diff)
downloadwireguard-monolithic-historical-4a93d257ec39e0cee4f5ace6ba1f2ef20d247782.tar.xz
wireguard-monolithic-historical-4a93d257ec39e0cee4f5ace6ba1f2ef20d247782.zip
Makefile: do not clean before cloc
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index f933eb1..ec6cfc5 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -67,8 +67,8 @@ check: clean
coccicheck: clean
@$(MAKE) -C $(KERNELDIR) M=$(PWD) CONFIG_WIREGUARD_DEBUG=y coccicheck MODE=report
-cloc: clean
- @cloc --skip-uniqueness --by-file --extract-with="$$(readlink -f ../contrib/kernel-tree/filter-compat-defines.sh) >FILE< > \$$(basename >FILE<)" $(wildcard *.c) $(wildcard *.h)
+cloc:
+ @cloc --skip-uniqueness --by-file --extract-with="$$(readlink -f ../contrib/kernel-tree/filter-compat-defines.sh) >FILE< > \$$(basename >FILE<)" $(filter-out wireguard.mod.c,$(wildcard *.c)) $(wildcard *.h)
-include tests/debug.mk