fix linking of base64 example
This commit is contained in:
parent
cc912fa98e
commit
b06a98ce26
1 changed files with 14 additions and 6 deletions
|
|
@ -22,12 +22,20 @@ dns: LDFLAGS:=-L../src -lhammer $(LDFLAGS)
|
|||
dns: dns.o rr.o dns_common.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
|
||||
dns.o: ../src/hammer.h dns_common.h ../src/glue.h
|
||||
rr.o: ../src/hammer.h rr.h dns_common.h ../src/glue.h
|
||||
dns_common.o: ../src/hammer.h dns_common.h ../src/glue.h
|
||||
|
||||
base64%: LDFLAGS:=-L../src -lhammer $(LDFLAGS)
|
||||
base64%: base64%.o
|
||||
base64: LDFLAGS:=-L../src -lhammer $(LDFLAGS)
|
||||
base64: base64.o
|
||||
$(call hush, "Linking $@") $(CC) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
base64%.o: ../src/hammer.h
|
||||
base64_sem1: LDFLAGS:=-L../src -lhammer $(LDFLAGS)
|
||||
base64_sem1: base64_sem1.o
|
||||
$(call hush, "Linking $@") $(CC) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
base64_sem2: LDFLAGS:=-L../src -lhammer $(LDFLAGS)
|
||||
base64_sem2: base64_sem2.o
|
||||
$(call hush, "Linking $@") $(CC) -o $@ $^ $(LDFLAGS)
|
||||
|
||||
base64%.o: ../src/hammer.h ../src/glue.h
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue