summaryrefslogtreecommitdiff
path: root/libc/unistd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/Makefile')
-rw-r--r--libc/unistd/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/unistd/Makefile b/libc/unistd/Makefile
index a097f06ea..ed142a8aa 100644
--- a/libc/unistd/Makefile
+++ b/libc/unistd/Makefile
@@ -42,12 +42,12 @@ endif
COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(COBJS) $(MOBJ1)
-all: $(SYSCONF) $(OBJS) $(LIBC)
+OBJ_LIST=../obj.unistd
-$(LIBC): ar-target subdirs
+all: $(OBJ_LIST)
-ar-target: $(OBJS)
- $(AR) $(ARFLAGS) $(LIBC) $(OBJS)
+$(OBJ_LIST): $(OBJS)
+ echo $(patsubst %, unistd/%, $(OBJS)) > $(OBJ_LIST)
$(MOBJ1): $(MSRC1)
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o