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