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