Commit dc659ec7 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

only build adig and ahost if 'make demos' is used

parent 09aa1659
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -27,7 +27,9 @@ OBJS= ares__close_sockets.o ares__get_hostent.o ares__read_line.o \
	ares_parse_ptr_reply.o ares_process.o ares_query.o ares_search.o \
	ares_send.o ares_strerror.o ares_timeout.o ares_version.o

all: $(LIB) adig ahost
all: $(LIB)

demos: adig ahost

$(LIB): ${OBJS}
	ar cru $@ ${OBJS}