summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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