From 99e973a956a6d682f3014d1b35a8ff4cb557bd0e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 18 Jan 2005 23:30:31 +0000 Subject: rework dependencies so the archive is re-created only when the object files have been updated --- libnsl/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libnsl') 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) -- cgit v1.2.3