From 89fb46fc1ada9389a3fb2f808b7c85f44536e5e6 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 20 Nov 2003 14:35:06 +0000 Subject: Fixup dependancies to ensure arch specific string functions will always win --- libc/string/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/string') diff --git a/libc/string/Makefile b/libc/string/Makefile index 48f39b356..30637fa74 100644 --- a/libc/string/Makefile +++ b/libc/string/Makefile @@ -19,7 +19,7 @@ TOPDIR=../../ include $(TOPDIR)Rules.mak -DIRS = +DIRS= ifeq ($(TARGET_ARCH),$(wildcard $(TARGET_ARCH))) DIRS = $(TARGET_ARCH) endif @@ -59,7 +59,7 @@ ifeq ($(UCLIBC_HAS_WCHAR),y) OBJS += $(MOBJW) $(MOBJWx) endif -all: $(OBJS) $(LIBC) subdirs +all: $(LIBC) subdirs $(LIBC): ar-target @@ -92,7 +92,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