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