DNS, refactored and compiling. Needs struct-building action written still.

This commit is contained in:
Meredith L. Patterson 2012-05-24 18:44:48 +02:00
parent 40be28fb7e
commit 4226d67c26
7 changed files with 354 additions and 69 deletions

View file

@ -10,7 +10,11 @@ include ../common.mk
all: dns
dns: LDFLAGS:=-L../src -lhammer $(LDFLAGS)
dns: dns.o
dns: dns.o rr.o dns_common.o
$(call hush, "Linking $@") $(CC) -o $@ $^ $(LDFLAGS)
dns.o: ../src/hammer.h
dns.o: ../src/hammer.h dns_common.h
rr.o: ../src/hammer.h rr.h dns_common.h
dns_common.o: ../src/hammer.h dns_common.h