Makefile: small tweaks
This commit is contained in:
7
Makefile
7
Makefile
@ -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
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user