aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-11-25 11:32:32 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-11-25 17:41:33 +0100
commita827003e3052c6d9ee7bdb71518182e9bd76317d (patch)
treec1b6276a2c74bfc1f190f518e7d098c78e99b3b9 /Makefile
parent03b7d35b5485b6a66bcd92027e43c838766bb205 (diff)
downloadrneovim-a827003e3052c6d9ee7bdb71518182e9bd76317d.tar.gz
rneovim-a827003e3052c6d9ee7bdb71518182e9bd76317d.tar.bz2
rneovim-a827003e3052c6d9ee7bdb71518182e9bd76317d.zip
build: rework IWYU mapping files
Create mapping to most of the C spec and some POSIX specific functions. This is more robust than relying files shipped with IWYU.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4b130476f1..50b260d62c 100644
--- a/Makefile
+++ b/Makefile
@@ -141,6 +141,7 @@ iwyu: build/.ran-cmake
cmake --build build > build/iwyu.log
iwyu-fix-includes --only_re="src/nvim" --ignore_re="src/nvim/(auto|map.h|eval/encode.c)" --safe_headers < build/iwyu.log
cmake -B build -U ENABLE_IWYU
+ cmake --build build
clean:
+test -d build && $(BUILD_TOOL) -C build clean || true