From a994421f9152d547ec237655fc01bd769819f64c Mon Sep 17 00:00:00 2001 From: zenith Date: Sun, 4 Jan 2026 17:13:37 -0500 Subject: [PATCH] Update makefile --- Makefile | 3 ++- tnc_ui.hh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index bc6a86d..1a002ce 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ CXX = g++ +CC = gcc CXXFLAGS = -std=c++17 -O3 -march=native -Wall -Wextra -LDFLAGS = -lpthread -lncurses -ldl -lm +LDFLAGS = -lpthread -ltinfo -lncurses -ldl -lm # dependencies AICODIX_DSP ?= ../dsp diff --git a/tnc_ui.hh b/tnc_ui.hh index 3c0eb71..b2257a9 100644 --- a/tnc_ui.hh +++ b/tnc_ui.hh @@ -923,7 +923,7 @@ private: void handle_mouse(MEVENT& event) { int rows, cols; getmaxyx(stdscr, rows, cols); - // (void)rows; + (void)rows; if (event.bstate & BUTTON1_CLICKED || event.bstate & BUTTON1_PRESSED) { // Tab clicks