1
# specify everything (directories and files) in the target file section, but directory at the end (order of the targets creation is not as specified). This should work.
2
mydir/1.txt mydir/2.txt mydir: input
3
mkdir -p mydir; cp input/hello mydir/1.txt; cp input/hello mydir/2.txt