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