summaryrefslogtreecommitdiff
path: root/mk/__printf.d
blob: 89cddfc3967c531e5c115649296c80b9f75136dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
libc_C.0: libc.a(__printf.o)
libc.a(__printf.o): $(OBJDIR)/__printf.o
	@$(AR) $(ARFLAGS) $@ $(OBJDIR)/$%

$(OBJDIR)/__printf.o: src/stdio/__printf.c
$(OBJDIR)/__printf.o: src/stdio/_stdio.h
$(OBJDIR)/__printf.o: src/wctype/wint_t.c
$(OBJDIR)/__printf.o: src/wctype/wctrans_t.c
$(OBJDIR)/__printf.o: src/stdint/intmax_t.c
$(OBJDIR)/__printf.o: src/stdint/uintmax_t.c
$(OBJDIR)/__printf.o: src/stdint/intptr_t.c
$(OBJDIR)/__printf.o: src/stdint/UINTMAX_MAX.c
$(OBJDIR)/__printf.o:
	@echo "  [CC] $@"
	@mkdir -p $(@D)
	@$(CC) -c -o $@ $(CFLAGS) src/stdio/__printf.c