From c1181be157a41d535ec7102704c3304c4242fbef Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Sun, 2 Nov 2025 11:05:06 +0200 Subject: [PATCH] Makefile: small tweaks --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a5883d45..31592828 100644 --- a/Makefile +++ b/Makefile @@ -56,10 +56,12 @@ endif # make clean all MESON_FLAGS="-Db_sanitize=thread" CXX=clang++ CC=clang all: $(BUILDDIR) @$(MESON) compile -C $(BUILDDIR) $(VERBOSE) + +setup: + @$(MESON) setup $(MESON_FLAGS) $(BUILDDIR) @ln -sf $(BUILDDIR)/compile_commands.json $(CURDIR) || /bin/true -$(BUILDDIR): - @$(MESON) setup $(MESON_FLAGS) $(BUILDDIR) +$(BUILDDIR): setup check: test @@ -153,7 +155,6 @@ dist: $(BUILDDIR) distclean: clean - # # documentation #