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