From b340985b27d8a06fecee2f28307dc689f2eea5b4 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Thu, 23 Jan 2003 15:36:00 +0000 Subject: Cleanup makefiles and make clean a bit --- libc/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libc/Makefile') 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 -- cgit v1.2.3