Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Are you mixing a shell script with a makefile? A makefile has a very specific syntax. It seems like you want to add the dependencies in your sources.txt, there are other solutions that make that easier, by the way. Commented Aug 11, 2017 at 19:13
  • Which make are you using? This is not possible in traditional UNIX make, but is possible in GNU make. Commented Aug 11, 2017 at 19:24
  • are you sure you want a separate rule for each file name? Would a static pattern rule not be good enough? Commented Aug 12, 2017 at 0:54