CFLAGS = -Wall -g -std=c99 CFLAGS_PEDANTIC = -pedantic -Werror -Wextra all: dns-net2wire dns-wire2text dns-net2wire: dns-net2wire.c $(CC) $(CFLAGS) -o $@ -lgetdns -lgetdns_ext_event -levent $< dns-wire2text: dns-wire2text.c $(CC) $(CFLAGS) $(CFLAGS_PEDANTIC) -o $@ -lgetdns -lgetdns_ext_event -levent $< net2wire: net2wire.c $(CC) $(CFLAGS) -I ~/usr/include -L ~/usr/lib -o $@ -lgetdns -lgetdns_ext_event -levent $<