X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=58512868cf3f7d5b3edb1f0c3af39c72ad223b55;hb=a20c01bd12216d409e0dfc5d3bbacc940352bfce;hp=8f60172d364f005af7aa34d816d779b50830406f;hpb=b1d2a6b958d8d7a8ecf79765bb93aa57583d93bd;p=catta diff --git a/Makefile b/Makefile index 8f60172..5851286 100644 --- a/Makefile +++ b/Makefile @@ -2,9 +2,9 @@ CFLAGS=-g -O0 -Wall -W -pipe $(shell pkg-config --cflags glib-2.0) -Wno-unused LIBS=$(shell pkg-config --libs glib-2.0) -all: flexmdns prioq-test +all: strlst-test prioq-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 +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) #test-llist: test-llist.o @@ -14,7 +14,11 @@ prioq-test: prioq-test.o prioq.o $(CC) -o $@ $^ $(LIBS) +strlst-test: strlst-test.o strlst.o + $(CC) -o $@ $^ $(LIBS) + + *.o: *.h clean: - rm -f *.o flexmdns prioq-test + rm -f *.o flexmdns prioq-test strlst-test