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