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