diff options
author | Jakob Kaivo <jkk@ung.org> | 2020-08-14 22:18:59 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2020-08-14 22:18:59 -0400 |
commit | 5e22f8ab246eae8f38b5c3f3582fb49f3d16d418 (patch) | |
tree | 4050191a4f0a294177f7f1732ddb9b1a87d6c727 /mk/__printf.d | |
parent | 51b1cf3a845e34fc616e6c0d3020091d1f79c5eb (diff) |
better dependencies from better autogeneration
Diffstat (limited to 'mk/__printf.d')
-rw-r--r-- | mk/__printf.d | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mk/__printf.d b/mk/__printf.d new file mode 100644 index 00000000..89cddfc3 --- /dev/null +++ b/mk/__printf.d @@ -0,0 +1,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 |