瀏覽代碼

Lets try that one again...

Eric Andersen 22 年之前
父節點
當前提交
72a8f4125b
共有 1 個文件被更改,包括 6 次插入8 次删除
  1. 6 8
      libc/sysdeps/linux/Makefile

+ 6 - 8
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)