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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!