diff --git a/Makefile b/Makefile index ac791a9..e244062 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ PREFIX = /usr/local -CC = clang -CCFLAGS = -Wall +CC = clang +CCFLAGS = -Wall $(shell pkg-config --cflags sword) TARGET = scriptura INCLUDES = -I/usr/include/sword -I/usr/include/ncursesw -LDFLAGS = -lmenuw -lformw -lncursesw -lsword -lstdc++ +LDFLAGS = -lmenuw -lformw -lncursesw -lstdc++ $(shell pkg-config --libs sword) SOURCE = free.cpp scabbard.cpp pane.cpp scriptura.cpp