summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index a5883d4..3159282 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)
- @ln -sf $(BUILDDIR)/compile_commands.json $(CURDIR) || /bin/true
-$(BUILDDIR):
+setup:
@$(MESON) setup $(MESON_FLAGS) $(BUILDDIR)
+ @ln -sf $(BUILDDIR)/compile_commands.json $(CURDIR) || /bin/true
+
+$(BUILDDIR): setup
check: test
@@ -153,7 +155,6 @@ dist: $(BUILDDIR)
distclean: clean
-
#
# documentation
#