diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-01-18 23:30:31 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-01-18 23:30:31 +0000 |
commit | 99e973a956a6d682f3014d1b35a8ff4cb557bd0e (patch) | |
tree | 78c158b54c76bfcd4b67c64934a4d41fedb602b0 /libresolv | |
parent | d1155a7c1e364182e441ead2d7bd3e445cd8f8bb (diff) |
rework dependencies so the archive is re-created only when the object files have been updated
Diffstat (limited to 'libresolv')
-rw-r--r-- | libresolv/Makefile | 6 |
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) |