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 #