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