summaryrefslogtreecommitdiff
path: root/libresolv
diff options
context:
space:
mode:
Diffstat (limited to 'libresolv')
-rw-r--r--libresolv/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/libresolv/Makefile b/libresolv/Makefile
index 510457b87..32ca32d71 100644
--- a/libresolv/Makefile
+++ b/libresolv/Makefile
@@ -34,11 +34,9 @@ LIBRESOLV_SHARED_FULLNAME=libresolv-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL
CSRC = resolv.c
OBJS=$(patsubst %.c,%.o, $(CSRC))
-all: $(OBJS) $(LIBRESOLV)
+all: $(LIBRESOLV)
-$(LIBRESOLV): ar-target
-
-ar-target: $(OBJS)
+$(LIBRESOLV) ar-target: $(OBJS)
$(AR) $(ARFLAGS) $(LIBRESOLV) $(OBJS)
$(INSTALL) -d $(TOPDIR)lib
$(RM) $(TOPDIR)lib/$(LIBRESOLV)