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