blob: 398d0aadd42f70e6dfb43a21183e3007d8c5ab02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
libc_C.1: libc.a(fputc.o)
libc.a(fputc.o): $(OBJDIR)/fputc.o
@$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%
$(OBJDIR)/fputc.o: src/stdio/fputc.c
$(OBJDIR)/fputc.o: src/stdio/_stdio.h
$(OBJDIR)/fputc.o: src/stdio/putc_unlocked.c
$(OBJDIR)/fputc.o:
@echo " [CC] $@"
@mkdir -p $(@D)
@$(CC) -c -o $@ $(CFLAGS) src/stdio/fputc.c
|