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 --- libintl/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'libintl') diff --git a/libintl/Makefile b/libintl/Makefile index 8dd084dc5..abb9c8fd3 100644 --- a/libintl/Makefile +++ b/libintl/Makefile @@ -23,7 +23,6 @@ TOPDIR=../ include $(TOPDIR)Rules.mak -LIBC=$(TOPDIR)libc.a CFLAGS+=$(SSP_ALL_CFLAGS) @@ -38,11 +37,9 @@ MOBJ= gettext.o ngettext.o dgettext.o dcgettext.o dngettext.o dcngettext.o \ OBJS=$(MOBJ) -all: $(OBJS) $(LIBC) +all: $(LIBINTL) -$(LIBC): ar-target - -ar-target: $(OBJS) +$(LIBINTL) ar-target: $(OBJS) $(AR) $(ARFLAGS) $(LIBINTL) $(OBJS) $(INSTALL) -d $(TOPDIR)lib $(RM) $(TOPDIR)lib/$(LIBINTL) -- cgit v1.2.3