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