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