From 420bbd2e0888b476976923ec343a6bfd33b993c5 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Tue, 17 Feb 2004 07:40:46 +0000
Subject: [PATCH] 'make all' also builds the demos

---
 ares/Makefile.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ares/Makefile.in b/ares/Makefile.in
index 9ba9ea6e7e..e3aae69c09 100644
--- a/ares/Makefile.in
+++ b/ares/Makefile.in
@@ -27,14 +27,14 @@ 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)
-
-demos: adig ahost
-
 $(LIB): ${OBJS}
 	ar cru $@ ${OBJS}
 	${RANLIB} $@
 
+all: $(LIB) demos
+
+demos: adig ahost
+
 tags:
 	etags *.[ch]
 
-- 
GitLab