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
|
||||
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
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user