[Lldb-commits] [PATCH] D152569: [lldb] Introduce a tool to quickly generate projects with an arbitrary number of sources

Dave Lee via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 9 12:43:00 PDT 2023


kastiglione added inline comments.


================
Comment at: lldb/scripts/generate-project.py:118-126
+        f.write(f"  $(OBJDIR)/main.o\n")
+        f.write("\n")
+        f.write("all: many-objects\n")
+        f.write("objdir:\n")
+        f.write("\tmkdir -p $(OBJDIR)\n")
+        f.write(f"$(OBJDIR)/%.o: %.c objdir\n")
+        f.write(f"\t$(CC) -g -c -o $@ $<\n")
----------------
minor, but I noticed some of these f-strings don't have an `{}` interpolation.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152569/new/

https://reviews.llvm.org/D152569



More information about the lldb-commits mailing list