Question: Write a Makefile that will be given a file with a name following the format A-question.txt. It will create and move our file into a
Write a Makefile that will be given a file with a name following the format A-question.txt. It will create and move our file into a directory called A. When given an argument such as alan-questions.txt it creates a directory named alan, and moves alan-questions.txt into alan/questions.txt. Example:
if you have a file in your current directory called a-b-questions.txt and c-d-questions.txt so when the user enter:
$ make Makefile
your directory will have:
a-b folder and inside this folder there is questions.txt
c-d folder and inside this folder there is questions.txt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
