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