Can a makefile have a directory as a target?
Yes, a Makefile can have a directory as target. Your problem could be that the cd doesn’t do what you want: it does cd and the git clone is carried out in the original directory (the one you cded from, not the one you cded to). This is because for every command in the Makefile … Read more