Makefile uses Bear to improve clangd

This commit is contained in:
Emile Clark-Boman 2025-08-28 00:11:54 +10:00
parent f6a4c76b54
commit 9f304641b2
3 changed files with 10 additions and 5 deletions

View file

@ -38,7 +38,7 @@ setup:
all: setup $(BIN)/$(BINARY) $(BUILD)/$(BINARY).desktop
$(BIN)/$(BINARY): $(call mkobj,main.o util.o)
$(CC) $^ $(DWLCFLAGS) $(LDFLAGS) $(LDLIBS) -o $@
$(OBJ)/main.o: $(call mksrc,main.c client.h) config.mk $(call mkinclude,config.h cursor-shape-v1-protocol.h \
$(OBJ)/main.o: $(call mksrc,main.c) config.mk $(call mkinclude,config.h cursor-shape-v1-protocol.h \
pointer-constraints-unstable-v1-protocol.h wlr-layer-shell-unstable-v1-protocol.h \
wlr-output-power-management-unstable-v1-protocol.h xdg-shell-protocol.h)
$(OBJ)/util.o: $(call mksrc,util.c util.h)