summaryrefslogtreecommitdiff
path: root/libc/pwd_grp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/pwd_grp/Makefile')
-rw-r--r--libc/pwd_grp/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/pwd_grp/Makefile b/libc/pwd_grp/Makefile
index 8835d665a..3b37e0052 100644
--- a/libc/pwd_grp/Makefile
+++ b/libc/pwd_grp/Makefile
@@ -46,12 +46,12 @@ endif
COBJ=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(MOBJ) $(COBJ)
-all: $(OBJS) $(LIBC)
+OBJ_LIST=../obj.pwd_grp
-$(LIBC): ar-target
+all: $(OBJ_LIST)
-ar-target: $(OBJS)
- $(AR) $(ARFLAGS) $(LIBC) $(OBJS)
+$(OBJ_LIST): $(OBJS)
+ echo $(patsubst %, pwd_grp/%, $(OBJS)) > $(OBJ_LIST)
$(MOBJ): $(MSRC)
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o