summaryrefslogtreecommitdiff
path: root/libc/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-01-23 15:36:00 +0000
committerEric Andersen <andersen@codepoet.org>2003-01-23 15:36:00 +0000
commitb340985b27d8a06fecee2f28307dc689f2eea5b4 (patch)
tree8532a4ff77f8d2d0338e3ec71305b30b0efc1771 /libc/Makefile
parent72c3d34323756a765ba4c635abf997c2c2584489 (diff)
Cleanup makefiles and make clean a bit
Diffstat (limited to 'libc/Makefile')
-rw-r--r--libc/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/Makefile b/libc/Makefile
index 4a5110f0e..04f8e674e 100644
--- a/libc/Makefile
+++ b/libc/Makefile
@@ -45,12 +45,15 @@ VERSION_SCRIPT:=${shell if [ -f sysdeps/linux/$(TARGET_ARCH)/libc.map ] ; then \
all: halfclean subdirs $(LIBNAME) $(DO_SHARED)
-$(LIBNAME): subdirs
+ar-target:
$(CROSS)ranlib $(LIBNAME)
install -d $(TOPDIR)lib
rm -f $(TOPDIR)lib/$(LIBNAME)
install -m 644 $(LIBNAME) $(TOPDIR)lib
+$(LIBNAME): subdirs ar-target
+
+
shared: $(TOPDIR)lib/$(LIBNAME)
@rm -rf tmp
@mkdir tmp