From 57866c550b0a902eebb6864cc6cdd9d08f4c84e1 Mon Sep 17 00:00:00 2001 From: rebeccadoth Date: Tue, 10 Nov 2026 19:31:50 +0100 Subject: fix not compiling --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a9589df..f4fdc2f 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ WARN = -Wall -Wextra -Wconversion -LINK = -lncurses +LINK = $(shell pkg-config --cflags --libs ncursesw) default: - $(CC) $(WARN) $(LINK) main.c -o cgol + $(CC) $(WARN) $(LINK) main.c -o cgol debug: $(CC) $(WARN) $(LINK) -g3 main.c -o cgol -- cgit v1.2.3