diff --git a/Makefile b/Makefile index 24281e6..8feca79 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,7 @@ -LDLIBS := -lscterm -lm -lscscreensaver +LDLIBS := -lscterm -lm -lscgui + +LDLIBS += $(shell pkg-config sdl2 --libs) +CXXFLAGS += $(shell pkg-config sdl2 --cflags) BIN := $(shell basename $$(pwd)) diff --git a/progress.cpp b/progress.cpp index bb800d2..0726ba6 100644 --- a/progress.cpp +++ b/progress.cpp @@ -2,7 +2,7 @@ #include #include #include -#include +#include void show_rows_cols(const sc::term& t) { std::cout << t.rows() << " rows, " << t.cols() << " cols\n";