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 /libnsl/Makefile | |
parent | d1155a7c1e364182e441ead2d7bd3e445cd8f8bb (diff) |
rework dependencies so the archive is re-created only when the object files have been updated
Diffstat (limited to 'libnsl/Makefile')
-rw-r--r-- | libnsl/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libnsl/Makefile b/libnsl/Makefile index 915651063..3550d0c23 100644 --- a/libnsl/Makefile +++ b/libnsl/Makefile @@ -28,11 +28,9 @@ LIBNSL_SHARED_FULLNAME=libnsl-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so CSRC = nsl.c OBJS=$(patsubst %.c,%.o, $(CSRC)) -all: $(OBJS) $(LIBNSL) +all: $(LIBNSL) -$(LIBNSL): ar-target - -ar-target: $(OBJS) +$(LIBNSL) ar-target: $(OBJS) $(AR) $(ARFLAGS) $(LIBNSL) $(OBJS) $(INSTALL) -d $(TOPDIR)lib $(RM) $(TOPDIR)lib/$(LIBNSL) |