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