move api additions to glue.[ch]
This commit is contained in:
parent
4b30ebdb77
commit
3412541370
6 changed files with 106 additions and 78 deletions
|
|
@ -15,14 +15,13 @@ LDFLAGS += $(pkg-config --libs glib-2.0)
|
|||
all: dns base64
|
||||
|
||||
dns: LDFLAGS:=-L../src -lhammer $(LDFLAGS)
|
||||
dns: dns.o rr.o dns_common.o
|
||||
dns: dns.o rr.o dns_common.o glue.o
|
||||
$(call hush, "Linking $@") $(CC) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
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
|
||||
glue.o: ../src/hammer.h glue.h
|
||||
|
||||
base64: LDFLAGS:=-L../src -lhammer $(LDFLAGS)
|
||||
base64: base64.o
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue