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 --- libcrypt/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'libcrypt') diff --git a/libcrypt/Makefile b/libcrypt/Makefile index 497e5307c..ec860dc18 100644 --- a/libcrypt/Makefile +++ b/libcrypt/Makefile @@ -33,11 +33,9 @@ LIBCRYPT_SHARED_FULLNAME=libcrypt-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL). CSRC = crypt.c des.c md5.c OBJS=$(patsubst %.c,%.o, $(CSRC)) -all: $(OBJS) $(LIBCRYPT) +all: $(LIBCRYPT) -$(LIBCRYPT): ar-target - -ar-target: $(OBJS) +$(LIBCRYPT) ar-target: $(OBJS) $(AR) $(ARFLAGS) $(LIBCRYPT) $(OBJS) $(INSTALL) -d $(TOPDIR)lib $(RM) $(TOPDIR)lib/$(LIBCRYPT) -- cgit v1.2.3