summaryrefslogtreecommitdiff
path: root/libc/misc/locale/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/locale/Makefile')
-rw-r--r--libc/misc/locale/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/libc/misc/locale/Makefile b/libc/misc/locale/Makefile
index 75fa56a78..5ab005538 100644
--- a/libc/misc/locale/Makefile
+++ b/libc/misc/locale/Makefile
@@ -43,13 +43,12 @@ endif
OBJS= $(MOBJ) $(MOBJx) $(DATA)
-all: $(OBJS) $(LIBC)
+OBJ_LIST=../../obj.misc.locale
+all: $(OBJ_LIST)
-$(LIBC): ar-target
-
-ar-target: $(OBJS)
- $(AR) $(ARFLAGS) $(LIBC) $(OBJS)
+$(OBJ_LIST): $(OBJS)
+ echo $(patsubst %, misc/locale/%, $(OBJS)) > $(OBJ_LIST)
$(MOBJ): $(MSRC)
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o