summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--memch/Makefile2
-rw-r--r--sjauth/Makefile2
2 files changed, 2 insertions, 2 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
diff --git a/sjauth/Makefile b/sjauth/Makefile
index 1c5c8ce..ef64147 100644
--- a/sjauth/Makefile
+++ b/sjauth/Makefile
@@ -3,7 +3,7 @@
all: sjauth
sjauth: sjauth.c
- $(CC) -Wall -Wextra -pedantic -O3 $(shell pkg-config --libs libcurl) -o sjauth sjauth.c
+ $(CC) -Wall -Wextra -pedantic -O3 -o sjauth sjauth.c $(shell pkg-config --libs libcurl)
clean:
rm sjauth