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