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