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