From eff21ee2ce1fdb4328d71d801352ec25f4e457ff Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 2 Apr 2025 18:49:15 +0800 Subject: feat: ftxui (#17) * ready for merge rm sum random ocmments first and https://github.com/ArthurSonzogni/FTXUI/issues/1024 but still, ready for merge since we can't do anything on our end * style: clang-tidy * ci * ci * style: clang-tidy * fix * fix: scroll https://github.com/ArthurSonzogni/git-tui/blob/master/src/scroller.cpp * focus * update todo * style: clang-format * update todo * sticky scroll * update todxo * smol fix need event to update screen. so we just give event when IO updates * style: clang-format --------- Co-authored-by: github-actions[bot] --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cac7f4e..6fdde0a 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,11 @@ LDFLAGS += -Wl,--as-needed,-z,now,-z,pack-relative-relocs DEBUG_CXXFLAGS = -std=c++26 -g3 -O0 -Wall -fno-lto -fPIC -DDEBUG DEBUG_LDFLAGS = -Wl,--no-as-needed,-z,now,-z,pack-relative-relocs +CXXFLAGS += $(shell pkg-config --cflags ftxui) +LDFLAGS += $(shell pkg-config --libs ftxui) +DEBUG_CXXFLAGS += $(shell pkg-config --cflags ftxui) +DEBUG_LDFLAGS += $(shell pkg-config --libs ftxui) + $(shell mkdir -p $(BUILDDIR)) JOB_COUNT := $(BIN) $(OBJS) JOBS_DONE := $(shell ls -l $(JOB_COUNT) 2> /dev/null | wc -l) -- cgit v1.2.3