Add a clangd make target: $ make clangd This installs a .clangd file with configuration (includes/macros/compiler flags) for the clandg language server. Add a qtcreator make target: $ make qtcreator This installs a .qtcreator directory with QTCreator IDE project files. In the QTCreator you can open a project by selecting the .qtcreator/ezc.creator file. You can use 'make qtcreator' again to refresh .qtcreator/ezc.files, the rest of the project files will not be modified.
33 lines
266 B
Makefile
33 lines
266 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
|
|
|
|
|
|
qtcreator: clangd
|
|
@.templates/install_qtcreator.sh
|
|
|
|
|
|
FORCE:
|
|
|