blob: 77d2081acc89b58a374f42a86e847cffd80490b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
CFLAGS = -Wall -g -std=c99
CFLAGS_PEDANTIC = -pedantic -Werror -Wextra
all: dns-net2wire dns-wire2text dns-text2wire net2wire validatechain
dns-net2wire: dns-net2wire.c common.c
$(CC) $(CFLAGS) -o $@ -lgetdns -lgetdns_ext_event -levent $^
dns-text2wire: dns-text2wire.c
$(CC) $(CFLAGS) -o $@ -lgetdns $^
dns-wire2text: dns-wire2text.c common.c
$(CC) $(CFLAGS) $(CFLAGS_PEDANTIC) -o $@ -lgetdns -lgetdns_ext_event -levent $^
validatechain: validatechain.c common.c
$(CC) $(CFLAGS) -o $@ -lgetdns -lgetdns_ext_event -levent $^
net2wire: net2wire.c common.c
$(CC) $(CFLAGS) -I ~/usr/include -L ~/usr/lib -o $@ -lgetdns -lgetdns_ext_event -levent $^
|