summaryrefslogtreecommitdiff
path: root/libc/string
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-20 14:35:06 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-20 14:35:06 +0000
commit89fb46fc1ada9389a3fb2f808b7c85f44536e5e6 (patch)
treec71dda47a1bc883c032bfacdcef10aed0549aa85 /libc/string
parent9d94b79b364e6a7d36391bda9a9e717bc1474b18 (diff)
Fixup dependancies to ensure arch specific string functions
will always win
Diffstat (limited to 'libc/string')
-rw-r--r--libc/string/Makefile6
1 files changed, 3 insertions, 3 deletions
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