summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-20 14:42:42 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-20 14:42:42 +0000
commitb2c0634d20025a78ceb50036645a1c0b850cde48 (patch)
tree41787392d0b4f5d3660f6b6e1adbc8e578eba990
parent8f82a3f7a00b7929d9065d4fd9d28bd08dfc80a3 (diff)
Make certain that arch specific stuff is compiled last
-rw-r--r--libm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/libm/Makefile b/libm/Makefile
index b7ddb9d36..b2d123370 100644
--- a/libm/Makefile
+++ b/libm/Makefile
@@ -82,7 +82,7 @@ OBJS=$(COBJS)
ifneq ($(strip $(UCLIBC_HAS_FLOATS)),y)
all: clean subdirs
else
-all: $(OBJS) $(LIBM) subdirs
+all: $(LIBM) subdirs
endif
$(LIBM): ar-target
@@ -125,7 +125,7 @@ clean: subdirs_clean
subdirs: $(patsubst %, _dir_%, $(DIRS))
subdirs_clean: $(patsubst %, _dirclean_%, $(ALL_SUBDIRS))
-$(patsubst %, _dir_%, $(DIRS)) : dummy
+$(patsubst %, _dir_%, $(DIRS)) : $(OBJS)
$(MAKE) -C $(patsubst _dir_%, %, $@)
$(patsubst %, _dirclean_%, $(ALL_SUBDIRS)) : dummy