summaryrefslogtreecommitdiff
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
parentd074e9de89070c5091af7cd00fc7a5910751d225 (diff)
fix not compiling
-rw-r--r--.gitignore1
-rw-r--r--Makefile4
2 files changed, 3 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index e09ae52..eba6c83 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
cgol
+cgol.exe
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