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