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

This commit is contained in:
Daniel Stenberg 2004-02-16 16:27:18 +00:00
parent 09aa165942
commit dc659ec736
1 changed files with 3 additions and 1 deletions

View File

@ -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}