summaryrefslogtreecommitdiff
path: root/libc/pwd_grp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/pwd_grp')
-rw-r--r--libc/pwd_grp/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/libc/pwd_grp/Makefile b/libc/pwd_grp/Makefile
index e5977c5ea..c4875c208 100644
--- a/libc/pwd_grp/Makefile
+++ b/libc/pwd_grp/Makefile
@@ -28,14 +28,16 @@ CSRC=__getpwent.c pwent.c getpwnam.c getpwuid.c putpwent.c getpw.c fgetpwent.c \
__getgrent.c grent.c getgrnam.c getgrgid.c fgetgrent.c initgroups.c \
utent.c
COBJS=$(patsubst %.c,%.o, $(CSRC))
+OBJS=$(COBJS)
+all: $(OBJS) $(LIBC)
-all: $(COBJS) $(LIBC)
+$(LIBC): ar-target
-$(LIBC): $(COBJS)
- $(AR) $(ARFLAGS) $(LIBC) $(COBJS)
+ar-target: $(OBJS)
+ $(AR) $(ARFLAGS) $(LIBC) $(OBJS)
-$(COBJS): Makefile
+$(OBJS): Makefile
__getgrent.c: config.h
initgroups.c: config.h