Makefile: small tweaks

This commit is contained in:
Dirk-Jan C. Binnema
2025-11-02 11:05:06 +02:00
committed by Seth Ladygo
parent 4acf708eb9
commit c1181be157

View File

@ -56,10 +56,12 @@ endif
# make clean all MESON_FLAGS="-Db_sanitize=thread" CXX=clang++ CC=clang # make clean all MESON_FLAGS="-Db_sanitize=thread" CXX=clang++ CC=clang
all: $(BUILDDIR) all: $(BUILDDIR)
@$(MESON) compile -C $(BUILDDIR) $(VERBOSE) @$(MESON) compile -C $(BUILDDIR) $(VERBOSE)
setup:
@$(MESON) setup $(MESON_FLAGS) $(BUILDDIR)
@ln -sf $(BUILDDIR)/compile_commands.json $(CURDIR) || /bin/true @ln -sf $(BUILDDIR)/compile_commands.json $(CURDIR) || /bin/true
$(BUILDDIR): $(BUILDDIR): setup
@$(MESON) setup $(MESON_FLAGS) $(BUILDDIR)
check: test check: test
@ -153,7 +155,6 @@ dist: $(BUILDDIR)
distclean: clean distclean: clean
# #
# documentation # documentation
# #