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