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