diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-01-18 23:14:41 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-01-18 23:14:41 +0000 |
commit | 2216a1d79ef625f2420e04124b9bf8ea081c5b5b (patch) | |
tree | 8efd4a204fcfcaf9f22de27fc28fa7cf1bce99a1 /libpthread | |
parent | 80c8cb66b4be141841ff5ecfda82d209725a0821 (diff) |
rework the dependencies so libpthread_db.a is only rebuilt when the object files get updated
Diffstat (limited to 'libpthread')
-rw-r--r-- | libpthread/linuxthreads_db/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
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 - - |