summaryrefslogtreecommitdiff
path: root/mk/readv.d
diff options
context:
space:
mode:
Diffstat (limited to 'mk/readv.d')
-rw-r--r--mk/readv.d9
1 files changed, 9 insertions, 0 deletions
diff --git a/mk/readv.d b/mk/readv.d
new file mode 100644
index 00000000..5d710a60
--- /dev/null
+++ b/mk/readv.d
@@ -0,0 +1,9 @@
+libc_X.400: libc.a(readv.o)
+libc.a(readv.o): $(OBJDIR)/readv.o
+ @$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%
+
+$(OBJDIR)/readv.o: src/sys/uio/readv.c
+$(OBJDIR)/readv.o:
+ @echo " [CC] $@"
+ @mkdir -p $(@D)
+ @$(CC) -c -o $@ $(CFLAGS) src/sys/uio/readv.c