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