summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/linuxthreads/Makefile')
-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