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