diff options
Diffstat (limited to 'mk/getgrnam.d')
| -rw-r--r-- | mk/getgrnam.d | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mk/getgrnam.d b/mk/getgrnam.d new file mode 100644 index 00000000..aea8dbe9 --- /dev/null +++ b/mk/getgrnam.d @@ -0,0 +1,10 @@ +libc_P.1: libc.a(getgrnam.o) +libc.a(getgrnam.o): $(OBJDIR)/getgrnam.o + @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$% + +$(OBJDIR)/getgrnam.o: src/grp/getgrnam.c +$(OBJDIR)/getgrnam.o: src/grp/_grp.h +$(OBJDIR)/getgrnam.o: + @echo " [CC] $@" + @mkdir -p $(@D) + @$(CC) -c -o $@ $(CFLAGS) src/grp/getgrnam.c |
