diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/misc/elf/Makefile.in | 6 | ||||
-rw-r--r-- | libc/sysdeps/linux/Makefile.commonarch | 4 |
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),) |