X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=2a3be765e3ca20c0714e7cc092eaa0907ac30411;hb=4e2d82b18f7e099cbce933b383c45efa40306161;hp=58512868cf3f7d5b3edb1f0c3af39c72ad223b55;hpb=4ccd2cdd5ae567dc2cb6c05ca5e5a9537a9dc1c4;p=catta diff --git a/Makefile b/Makefile index 5851286..2a3be76 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CFLAGS=-g -O0 -Wall -W -pipe $(shell pkg-config --cflags glib-2.0) -Wno-unused LIBS=$(shell pkg-config --libs glib-2.0) -all: strlst-test prioq-test flexmdns +all: strlst-test prioq-test domain-test dns-test flexmdns flexmdns: timeeventq.o main.o iface.o netlink.o server.o address.o util.o prioq.o cache.o rr.o dns.o socket.o psched.o announce.o subscribe.o strlst.o $(CC) -o $@ $^ $(LIBS) @@ -13,10 +13,15 @@ flexmdns: timeeventq.o main.o iface.o netlink.o server.o address.o util.o prioq. prioq-test: prioq-test.o prioq.o $(CC) -o $@ $^ $(LIBS) - strlst-test: strlst-test.o strlst.o $(CC) -o $@ $^ $(LIBS) +domain-test: domain-test.o util.o + $(CC) -o $@ $^ $(LIBS) + +dns-test: dns-test.o util.o dns.o rr.o strlst.o + $(CC) -o $@ $^ $(LIBS) + *.o: *.h