diff --git a/Makefile b/Makefile index d7f27c7..5e941fc 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ CC := gcc CFLAGS := -Wall -Wextra -O2 -flto=auto -CURSES := -lncursesw -ltinfow #utf8 support -#CURSES := -lncurses -tinfo #no utf8 +CURSES := $(shell pkg-config --libs ncurses) CFLAGS_DEBUG := $(CFLAGS) -g CFLAGS_PROFILE := $(CFLAGS) -pg GDB := gdb --tui ./th