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