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