From b3087814e97081892d1c4d5c42b1334387b2960b Mon Sep 17 00:00:00 2001 From: Raphael Date: Tue, 13 May 2025 11:21:29 +0200 Subject: [PATCH] fix(clangd): fixing the clangd rules --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d65669b..4d14225 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,8 @@ CXXFLAGS += $(DEBUG) # Sources SRC = sources/core/main.cpp -INC_DIR = include/core +INC_DIR = include/core \ + include CPPFLAGS = $(addprefix -I, $(INC_DIR)) -MMD -MP @@ -137,7 +138,7 @@ clangd: done @printf " - \"-I"$(shell pwd)"/\"\n" >> .clangd; @for file in $(INC_DIR); do \ - printf " - \"-I"$(shell pwd)"/"$$file"\"" >> .clangd; \ + printf " - \"-I"$(shell pwd)"/"$$file"\"\n" >> .clangd; \ done @printf "\n" >> ./.clangd @printf '$(GREY) Now parsing settings is set in $(END)$(GREEN)./.clangd$(END)\n'