summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0994288..a1b638f 100644
--- a/Makefile
+++ b/Makefile
@@ -44,6 +44,7 @@ endif
# make clean all MESON_FLAGS="-Db_sanitize=thread" CXX=clang++ CC=clang
all: $(BUILDDIR)
@$(NINJA) -C $(BUILDDIR) $(VERBOSE)
+ @ln -sf $(BUILDDIR)/compile_commands.json $(CURDIR) || /bin/true
$(BUILDDIR):
@$(MESON) $(MESON_FLAGS) $(BUILDDIR)