summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorrebeccadoth <rebeccadoth@disroot.org>2026-11-10 19:31:50 +0100
committerrebeccadoth <rebeccadoth@disroot.org>2026-11-10 19:31:50 +0100
commit57866c550b0a902eebb6864cc6cdd9d08f4c84e1 (patch)
treea6772940b9a2315620b3b882c235bcfa618cf631 /Makefile
parentd074e9de89070c5091af7cd00fc7a5910751d225 (diff)
fix not compiling
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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