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