From 760368942acedeb872c2081691bfb2e0564ded8b Mon Sep 17 00:00:00 2001 From: Akos Horvath Date: Sun, 31 Mar 2024 20:06:47 +0200 Subject: [PATCH] add xft to pkg-config, add cflags pkg-config --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 84fb11a..55bcb7f 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,8 @@ EXT=.c FLAGS=-O0 -g DEBUG_FLAGS=-DDEBUG -fsanitize=undefined -fsanitize=address DEPFLAGS=-MD -MP -LIBS=$(shell pkg-config --libs xcb x11 xinerama json-c) +LIBS=$(shell pkg-config --libs xcb x11 xinerama xft json-c cmocka) +FLAGS+=$(shell pkg-config --cflags xcb x11 xinerama xft json-c cmocka) EXEC_NAME=wm OBJDIR=obj