From b2c0634d20025a78ceb50036645a1c0b850cde48 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 20 Nov 2003 14:42:42 +0000 Subject: Make certain that arch specific stuff is compiled last --- libm/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libm') 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 -- cgit v1.2.3