diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-02-23 04:05:40 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-02-23 04:05:40 +0000 |
commit | 08c9aafdbb65568c2547a29e0b20163a60cbba6a (patch) | |
tree | c78e1428ec06bec8dee5f20d547a20149f0dc315 /libm | |
parent | 9b59fd857b14d4ee5447d2f57e6511d0244d9068 (diff) |
make sure subdirs requires the toplevel $(LIBM) already exists
Diffstat (limited to 'libm')
-rw-r--r-- | libm/Makefile | 6 |
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 |