summaryrefslogtreecommitdiff
path: root/libc/stdio/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-25 03:17:00 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-25 03:17:00 +0000
commit130697527bfd32f3a6a6e4dfcc1e80c0cdfa0b37 (patch)
tree5725aece2271bb7b95dea27faff912df97db74fe /libc/stdio/Makefile
parentdd8d43ce314931a24533715977385d68d1827b4d (diff)
merge parallel build support
Diffstat (limited to 'libc/stdio/Makefile')
-rw-r--r--libc/stdio/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/libc/stdio/Makefile b/libc/stdio/Makefile
index 59bccc148..a52098c90 100644
--- a/libc/stdio/Makefile
+++ b/libc/stdio/Makefile
@@ -118,13 +118,12 @@ ifeq ($(strip $(UCLIBC_HAS_LFS)),y)
OBJS += $(CLOBJS)
endif
+OBJ_LIST=../obj.stdio
-all: $(OBJS) $(LIBC)
+all: $(OBJ_LIST)
-$(LIBC): ar-target
-
-ar-target: $(OBJS)
- $(AR) $(ARFLAGS) $(LIBC) $(OBJS)
+$(OBJ_LIST): $(OBJS)
+ echo $(patsubst %, stdio/%, $(OBJS)) > $(OBJ_LIST)
$(COBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
@@ -153,5 +152,4 @@ $(MWOBJ): $(MWSRC)
$(OBJ): Makefile
clean:
- rm -f *.[oa] *~ core
-
+ $(RM) *.[oa] *~ core