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