summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-25 12:59:16 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-25 12:59:16 +0000
commitba1303003dae2f44e5b342304925ec52b173e01e (patch)
tree799517506252047b5a393a135ae53c8c303ac5ab
parent4a7ac42c310546504f0453459348d0ed75e35873 (diff)
- cosmetic tidy up of clean target
-rw-r--r--libc/misc/elf/Makefile.in6
-rw-r--r--libc/sysdeps/linux/Makefile.commonarch4
2 files changed, 5 insertions, 5 deletions
diff --git a/libc/misc/elf/Makefile.in b/libc/misc/elf/Makefile.in
index f92edb1e6..4c5d9c8b7 100644
--- a/libc/misc/elf/Makefile.in
+++ b/libc/misc/elf/Makefile.in
@@ -14,7 +14,7 @@ MISC_ELF_OBJ:=$(patsubst %.c,$(MISC_ELF_OUT)/%.o,$(libc_a_CSRC))
libc-static-y += $(MISC_ELF_OBJ)
libc-shared-y += $(MISC_ELF_OUT)/dl-iterate-phdr.oS
-objclean-y+= misc_elf_objclean
+objclean-y+= misc_elf_clean
-misc_elf_objclean:
- $(RM) $(MISC_ELF_OUT)/*.{o,os,oS}
+misc_elf_clean:
+ $(do_rm) $(addprefix $(MISC_ELF_OUT)/*., o os oS)
diff --git a/libc/sysdeps/linux/Makefile.commonarch b/libc/sysdeps/linux/Makefile.commonarch
index 99d8c85bf..2dad073ad 100644
--- a/libc/sysdeps/linux/Makefile.commonarch
+++ b/libc/sysdeps/linux/Makefile.commonarch
@@ -18,12 +18,12 @@ ARCH_OBJS := $(ARCH_COBJ) $(ARCH_SOBJ)
crt-y := FORCE
libc-y += $(ARCH_OBJS)
libc-nomulti-y += $(ARCH_SOBJ)
-objclean-y += arch_objclean
+objclean-y += arch_clean
CFLAGS-crti.S+=$(PICFLAG)
CFLAGS-crtn.S+=$(PICFLAG)
-arch_objclean:
+arch_clean:
$(do_rm) $(addprefix $(ARCH_OUT)/*., o os oS) $(CTOR_TARGETS) $(CRTS)
ifneq ($(ARCH_HEADERS),)