summaryrefslogtreecommitdiff
path: root/libc/misc/intl
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/intl')
-rw-r--r--libc/misc/intl/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/libc/misc/intl/Makefile b/libc/misc/intl/Makefile
index df59c9d52..e0eb06493 100644
--- a/libc/misc/intl/Makefile
+++ b/libc/misc/intl/Makefile
@@ -30,12 +30,12 @@ MOBJ= __uClibc_dgettext.o __uClibc_dcgettext.o \
OBJS=$(MOBJ)
-all: $(OBJS) $(LIBC)
+OBJ_LIST=../../obj.misc.intl
-$(LIBC): ar-target
+all: $(OBJ_LIST)
-ar-target: $(OBJS)
- $(AR) $(ARFLAGS) $(LIBC) $(OBJS)
+$(OBJ_LIST): $(OBJS)
+ echo $(patsubst %, misc/intl/%, $(OBJS)) > $(OBJ_LIST)
$(MOBJ): $(MSRC)
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
@@ -47,4 +47,3 @@ $(COBJS): %.o : %.c
clean:
$(RM) *.[oa] *~ core
-