Skip to content

Instantly share code, notes, and snippets.

@jasom
Created November 19, 2019 00:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasom/07521920a5a1e71bc7d66feabfc02bf9 to your computer and use it in GitHub Desktop.
Save jasom/07521920a5a1e71bc7d66feabfc02bf9 to your computer and use it in GitHub Desktop.
Example of multiuple output files
all: foo.out1 foo.out2 bar.out1 bar.out2
foo.out1: foo.in
sh multiple.sh foo.in
foo.out2: foo.out1
true
bar.out1 bar.out2: bar.in
sh multiple.sh bar.in
clean:
rm -f *.out1 *.out2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment