2 CFLAGS
= -std
=c99
-Wall
-Werror
-I
include
4 0tDNS
: build
/0tDNS.o build
/receive_respond.o
5 $(CC
) $^
-lunbound
-lldns
-o
$@
7 build
/%.o
: src
/%.c | build
8 gcc
$(CFLAGS
) $^
-c
-o
$@
10 ask_resolver
: build
/ask_resolver.o
11 $(CC
) $^
-lunbound
-o
$@
16 all : 0tDNS receive_respond
19 -rm -r build
0tDNS ask_resolver