summaryrefslogtreecommitdiff
path: root/libm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libm/Makefile')
-rw-r--r--libm/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/libm/Makefile b/libm/Makefile
index f3a4611a5..d2271b2f1 100644
--- a/libm/Makefile
+++ b/libm/Makefile
@@ -84,7 +84,7 @@ OBJS=$(COBJS)
ifneq ($(strip $(UCLIBC_HAS_FLOATS)),y)
-all: clean subdirs
+all:
else
all: $(LIBM) subdirs
endif
@@ -125,10 +125,10 @@ clean: subdirs_clean
subdirs: $(patsubst %, _dir_%, $(DIRS))
subdirs_clean: $(patsubst %, _dirclean_%, $(ALL_SUBDIRS))
-$(patsubst %, _dir_%, $(DIRS)) : $(OBJS)
+$(patsubst %, _dir_%, $(DIRS)): $(LIBM)
$(MAKE) -C $(patsubst _dir_%, %, $@)
-$(patsubst %, _dirclean_%, $(ALL_SUBDIRS)) : dummy
+$(patsubst %, _dirclean_%, $(ALL_SUBDIRS)): dummy
$(MAKE) -C $(patsubst _dirclean_%, %, $@) clean
.PHONY: dummy