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