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