From ff680cf9e8ee1db042c9622e463b0700d6b627ae Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 19 Jan 2005 23:40:41 +0000 Subject: add a tiny hack so that the headers target isnt rebuilt all the time, only when it should be --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 540ec5f9a..4ec8feef9 100644 --- a/Makefile +++ b/Makefile @@ -42,6 +42,9 @@ all: headers pregen subdirs shared finished shared: subdirs ifeq ($(strip $(HAVE_SHARED)),y) + @echo + @echo Building shared libraries ... + @echo @$(MAKE) -C libc shared @$(MAKE) -C ldso shared @$(MAKE) -C libcrypt shared @@ -109,6 +112,7 @@ endif fi $(MAKE) -C libc/sysdeps/linux/common headers $(MAKE) -C libc/sysdeps/linux/$(TARGET_ARCH) headers + touch headers # Command used to download source code WGET:=wget --passive-ftp @@ -317,6 +321,7 @@ defconfig: extra/config/conf clean: - find . \( -name \*.o -o -name \*.a -o -name \*.so -o -name core -o -name .\#\* \) -exec $(RM) {} \; @$(RM) -r tmp lib include/bits libc/tmp _install + $(RM) libc/obj.* headers $(MAKE) -C test clean $(MAKE) -C ldso clean $(MAKE) -C libc/misc/internals clean -- cgit v1.2.3