summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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