diff --git a/Makefile b/Makefile index b04858b..74c3f43 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CFLAGS+=-std=c99 -pedantic -Wall -Wextra -LDLIBS=-lncurses +LDLIBS=$(shell $(PKG_CONFIG) --libs ncurses) BIN=nbwmon