From 49a4a07f649761cf5ef56ca5d9f305278b8f8151 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Wed, 27 Nov 2024 12:30:19 +0100 Subject: [PATCH] Color moved from libscscreensaver to libscgui --- Makefile | 5 ++++- progress.cpp | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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";