1 2 3 4 5 6 7 8 9 10 11
--- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ # add -I/usr/pkg/include and -L/usr/pkg/lib to the options # below. CFLAGS+=-std=c99 -pedantic -Wall -Wextra -LDLIBS=-lncurses +LDLIBS=$(shell $(PKG_CONFIG) --libs ncurses) PREFIX=/usr/local BIN=nbwmon