Question: Please help create a makefile that can be run as such: module load gcc make alg text.txt alg is the executable name and text.txt is

Please help create a makefile that can be run as such: module load gcc make alg text.txt alg is the executable name and text.txt is a file that will be opened in the main code. The file name is taken as an argument in the command line.
In order to compile your program, you should run 'module load gcc', and then make'. In order to run the program, you should type the executable name followed by the input file name. In order to compile your program, you should run 'module load gcc', and then make'. In order to run the program, you should type the executable name followed by the input file name
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
