mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 03:25:45 +01:00
use bear whenever available, rather than only when debugging
This commit is contained in:
3
makefile
3
makefile
@@ -2,7 +2,6 @@
|
||||
# - make
|
||||
# - clang
|
||||
# - rustc
|
||||
# - bear (debug)
|
||||
# - git bash (windows)
|
||||
NAME := mcaselector-lite
|
||||
DEBUG ?= 0
|
||||
@@ -99,7 +98,7 @@ $(DIR):
|
||||
mkdir -p $@
|
||||
|
||||
# update compile commands if the makefile has been updated (for linting)
|
||||
ifeq ($(DEBUG),1)
|
||||
ifneq ($(shell which bear),)
|
||||
compile_commands.json: makefile
|
||||
$(MAKE) clean
|
||||
@touch compile_commands.json
|
||||
|
||||
Reference in New Issue
Block a user