summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-02-23 04:05:19 +0000
committerMike Frysinger <vapier@gentoo.org>2005-02-23 04:05:19 +0000
commit9b59fd857b14d4ee5447d2f57e6511d0244d9068 (patch)
treebdded3841e0404ec07ee9c7a33f0ecaf103a7a22
parentbee89ae71c663416ad6b930e941318f28ac33063 (diff)
have the directories themselves rather than the alias subdirs depend on $(LIBPTHREAD)
-rw-r--r--libpthread/linuxthreads/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpthread/linuxthreads/Makefile b/libpthread/linuxthreads/Makefile
index 766c0f1f3..50fc20cdf 100644
--- a/libpthread/linuxthreads/Makefile
+++ b/libpthread/linuxthreads/Makefile
@@ -80,13 +80,13 @@ endif
clean: subdirs_clean
$(RM) *.[oa] *~ core
-subdirs: $(patsubst %, _dir_%, $(DIRS)) $(LIBPTHREAD)
+subdirs: $(patsubst %, _dir_%, $(DIRS))
subdirs_clean: $(patsubst %, _dirclean_%, $(DIRS))
-$(patsubst %, _dir_%, $(DIRS)) : dummy
+$(patsubst %, _dir_%, $(DIRS)): $(LIBPTHREAD)
$(MAKE) -C $(patsubst _dir_%, %, $@)
-$(patsubst %, _dirclean_%, $(DIRS)) : dummy
+$(patsubst %, _dirclean_%, $(DIRS)):
$(MAKE) -C $(patsubst _dirclean_%, %, $@) clean
.PHONY: dummy