Add a forceclangd target to Makefile to force installing a .clangd file. Add a forceqtcreator target to force installing qtcreator files. Existing files will be overwritten. while here: - update the c++ standard to c++23
41 lines
394 B
Makefile
41 lines
394 B
Makefile
|
|
|
|
export CXX
|
|
export CXXFLAGS
|
|
export AR
|
|
|
|
|
|
all: src
|
|
|
|
|
|
src: FORCE
|
|
$(MAKE) -C src
|
|
|
|
|
|
clean: FORCE
|
|
$(MAKE) -C src clean
|
|
|
|
|
|
depend: FORCE
|
|
$(MAKE) -C src depend
|
|
|
|
|
|
clangd: FORCE
|
|
@.templates/install_clangd.sh
|
|
|
|
|
|
forceclangd: FORCE
|
|
@.templates/install_clangd.sh force
|
|
|
|
|
|
qtcreator: clangd
|
|
@.templates/install_qtcreator.sh
|
|
|
|
|
|
forceqtcreator: forceclangd
|
|
@.templates/install_qtcreator.sh force
|
|
|
|
|
|
FORCE:
|
|
|