Fixes karlstav/cava#4.
@ -21,7 +21,7 @@
#include <time.h>
#include <getopt.h>
#include <pthread.h>
#include "ncursesw/curses.h"
#include <curses.h>
#include <wchar.h>
@ -5,7 +5,7 @@ CC = gcc
CFLAGS = -std=c99 -Wall -Wextra
CPPFLAGS = -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\" \
-D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L
LDLIBS = -lasound -lm -lfftw3 -lpthread -lncursesw
LDLIBS = -lasound -lm -lfftw3 -lpthread $(shell ncursesw5-config --cflags --libs)
INSTALL = install
INSTALL_BIN = $(INSTALL) -D -m 755