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