summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
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