From 4ec448944b75d53aa6c88e726f67f91c91fecc5e Mon Sep 17 00:00:00 2001 From: buffet Date: Thu, 25 Oct 2018 22:53:52 +0200 Subject: [PATCH] Updoozled config.mk --- config.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config.mk b/config.mk index e2d2343..b9faf55 100644 --- a/config.mk +++ b/config.mk @@ -9,9 +9,10 @@ CC = gcc LD = $(CC) INCS = -Isrc/ +LIBS = `pkg-config --libs xcb` DEFS = -D_POSIX_C_SOURCE=2 -DVERSION_STRING=\"$(VERSION)\" -CFLAGS = -std=c11 -Wall -Wextra -pedantic -Os $(DEFS) $(INCS) -LDFLAGS = -lxcb -CPPFLAGS = -MD -MP +CFLAGS += -std=c11 -Wall -Wextra -pedantic $(DEFS) $(INCS) +LDFLAGS += $(LIBS) +CPPFLAGS += -MD -MP