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