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