From 2216a1d79ef625f2420e04124b9bf8ea081c5b5b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 18 Jan 2005 23:14:41 +0000 Subject: rework the dependencies so libpthread_db.a is only rebuilt when the object files get updated --- libpthread/linuxthreads_db/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'libpthread') diff --git a/libpthread/linuxthreads_db/Makefile b/libpthread/linuxthreads_db/Makefile index dea86b074..656275fa9 100644 --- a/libpthread/linuxthreads_db/Makefile +++ b/libpthread/linuxthreads_db/Makefile @@ -57,11 +57,9 @@ CSRC= td_init.c td_log.c td_ta_delete.c td_ta_get_nthreads.c \ COBJS=$(patsubst %.c,%.o, $(CSRC)) OBJS=$(COBJS) -all: $(OBJS) $(LIBTHREAD_DB) +all: $(LIBTHREAD_DB) -$(LIBTHREAD_DB): ar-target - -ar-target: $(OBJS) +$(LIBTHREAD_DB) ar-target: $(OBJS) $(AR) $(ARFLAGS) $(LIBTHREAD_DB) $(OBJS) $(COBJS): %.o : %.c @@ -70,5 +68,3 @@ $(COBJS): %.o : %.c clean: $(RM) *.[oa] *~ core - - -- cgit v1.2.3