summaryrefslogtreecommitdiff
path: root/mk/__printf.d
blob: f6e20da6610fc1797efec36c8661de3bd0b05a8e (plain)
1
2
3
4
5
6
7
8
9
10
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/_forced/strdup.h
$(OBJDIR)/__printf.o: src/stdio/_format.h
$(OBJDIR)/__printf.o:
	@mkdir -p $(@D)
	$(CC) -c -o $@ $(CFLAGS) src/stdio/__printf.c