diff options
Diffstat (limited to 'libc/misc/wchar')
-rw-r--r-- | libc/misc/wchar/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libc/misc/wchar/Makefile b/libc/misc/wchar/Makefile index b1db37293..62b49f2ee 100644 --- a/libc/misc/wchar/Makefile +++ b/libc/misc/wchar/Makefile @@ -45,12 +45,12 @@ endif OBJS=$(MOBJ1) -all: $(OBJS) $(LIBC) +OBJ_LIST=../../obj.misc.wchar -$(LIBC): ar-target +all: $(OBJ_LIST) -ar-target: $(OBJS) - $(AR) $(ARFLAGS) $(LIBC) $(OBJS) +$(OBJ_LIST): $(OBJS) + echo $(patsubst %, misc/wchar/%, $(OBJS)) > $(OBJ_LIST) $(MOBJ1): $(MSRC1) $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o @@ -62,4 +62,3 @@ $(MOBJ2): $(MSRC2) clean: $(RM) *.[oa] *~ core - |