summaryrefslogtreecommitdiff
path: root/memch/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'memch/Makefile')
-rw-r--r--memch/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/memch/Makefile b/memch/Makefile
index e107753..e6838b2 100644
--- a/memch/Makefile
+++ b/memch/Makefile
@@ -1,7 +1,7 @@
.PHONY: clean
memch: memch.c
- $(CC) -D_DEFAULT_SOURCE -std=c99 -lncursesw -o $@ $<
+ $(CC) -D_DEFAULT_SOURCE -std=c99 -o $@ $< $(shell pkg-config --libs --cflags ncursesw)
clean:
rm memch