summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-20 15:05:27 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-20 15:05:27 +0000
commit72a8f4125ba443d28f9398a45ec5c4c9504c3e8f (patch)
tree1267cb24c74c4a912928a7cdc044923c5e3e8bbd /libc/sysdeps/linux
parentb2c0634d20025a78ceb50036645a1c0b850cde48 (diff)
Lets try that one again...
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/Makefile b/libc/sysdeps/linux/Makefile
index 7c2cbcb75..a95dd67ea 100644
--- a/libc/sysdeps/linux/Makefile
+++ b/libc/sysdeps/linux/Makefile
@@ -21,26 +21,24 @@ include $(TOPDIR)Rules.mak
ALL_SUBDIRS = arm common cris h8300 i386 m68k mips powerpc sh sh64 sparc v850
-all: subdirs
+all: common $(TARGET_ARCH)
tags:
ctags -R
-clean: subdirs_clean
-
-subdirs: common $(TARGET_ARCH)
-subdirs_clean: $(patsubst %, _dirclean_%, $(ALL_SUBDIRS))
-
-
common: dummy
$(MAKE) -C common
$(TARGET_ARCH): common
$(MAKE) -C $(TARGET_ARCH)
+clean: subdirs_clean
+
+subdirs_clean: $(patsubst %, _dirclean_%, $(ALL_SUBDIRS))
+
$(patsubst %, _dirclean_%, $(ALL_SUBDIRS)) : dummy
$(MAKE) -C $(patsubst _dirclean_%, %, $@) clean
-.PHONY: dummy
+.PHONY: dummy $(TARGET_ARCH)