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