fix(clangd): fixing the clangd rules
This commit is contained in:
parent
f4a74eb3c4
commit
b3087814e9
1 changed files with 3 additions and 2 deletions
5
Makefile
5
Makefile
|
|
@ -30,7 +30,8 @@ CXXFLAGS += $(DEBUG)
|
||||||
# Sources
|
# Sources
|
||||||
SRC = sources/core/main.cpp
|
SRC = sources/core/main.cpp
|
||||||
|
|
||||||
INC_DIR = include/core
|
INC_DIR = include/core \
|
||||||
|
include
|
||||||
|
|
||||||
CPPFLAGS = $(addprefix -I, $(INC_DIR)) -MMD -MP
|
CPPFLAGS = $(addprefix -I, $(INC_DIR)) -MMD -MP
|
||||||
|
|
||||||
|
|
@ -137,7 +138,7 @@ clangd:
|
||||||
done
|
done
|
||||||
@printf " - \"-I"$(shell pwd)"/\"\n" >> .clangd;
|
@printf " - \"-I"$(shell pwd)"/\"\n" >> .clangd;
|
||||||
@for file in $(INC_DIR); do \
|
@for file in $(INC_DIR); do \
|
||||||
printf " - \"-I"$(shell pwd)"/"$$file"\"" >> .clangd; \
|
printf " - \"-I"$(shell pwd)"/"$$file"\"\n" >> .clangd; \
|
||||||
done
|
done
|
||||||
@printf "\n" >> ./.clangd
|
@printf "\n" >> ./.clangd
|
||||||
@printf '$(GREY) Now parsing settings is set in $(END)$(GREEN)./.clangd$(END)\n'
|
@printf '$(GREY) Now parsing settings is set in $(END)$(GREEN)./.clangd$(END)\n'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue