Scripts and Utilities -- Make lab


This lab is fairly simple. You may have to refer back to the gcc lecture.

Create a makefile:

1. Copy over the files from /home/cs300/labs/Make to some directory of your own and execute setup in that directory. (eg: cp ~cs300/labs/Make/* . )
setup will create a directory named include with a file in it.

2. Now write a makefile to generate the executable "get_it". The makefile must do the following:

3. This makefile must NOT do anything 'cute'. I want it to do just what I said just the way I said it. You will know when you have it correct because there will be no compiler errors and the executable will run. The executable just takes a single integer as an argument and reads in and echos out that number of strings.

4. Submit the makefile using submit script.