aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 11152b9..30a9d27 100644
--- a/Makefile
+++ b/Makefile
@@ -13,12 +13,18 @@ receive_respond : build/receive_respond.o
build/receive_respond.o : src/receive_respond.c | build
gcc $(CFLAGS) $^ -c -o $@
+ask_localhost : build/ask_localhost.o
+ $(CC) $^ -lunbound -o $@
+
+build/ask_localhost.o : src/ask_localhost.c | build
+ gcc $(CFLAGS) $^ -c -o $@
+
build :
mkdir build
all : 0tDNS receive_respond
clean :
- -rm -r build 0tDNS receive_respond
+ -rm -r build 0tDNS receive_respond ask_localhost
.PHONY : clean