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