use bear whenever available, rather than only when debugging

This commit is contained in:
Quinn
2025-04-09 15:46:08 +02:00
committed by Quinn
parent eeb219a5b4
commit c363fb6481

View File

@@ -2,7 +2,6 @@
# - make # - make
# - clang # - clang
# - rustc # - rustc
# - bear (debug)
# - git bash (windows) # - git bash (windows)
NAME := mcaselector-lite NAME := mcaselector-lite
DEBUG ?= 0 DEBUG ?= 0
@@ -99,7 +98,7 @@ $(DIR):
mkdir -p $@ mkdir -p $@
# update compile commands if the makefile has been updated (for linting) # update compile commands if the makefile has been updated (for linting)
ifeq ($(DEBUG),1) ifneq ($(shell which bear),)
compile_commands.json: makefile compile_commands.json: makefile
$(MAKE) clean $(MAKE) clean
@touch compile_commands.json @touch compile_commands.json