Assignment 7: Makefiles and Debuggers
Get the tar file mf.tar.gz which has sample source.
- Build a Makefile for the data directory which will convert a .csv
comma separated value file to a tab separated value file.
- Build a Makefile for the src directory which will automagically
compile and link `thingy' which uses all the src. The src should compile
but it has errors.
- Add a makedepend line, a clean line, and some other potentially
useful line.
- Use the debugger to walk through the code using the data10.csv file
for input. Fix the errors, how many did you find?
- The source directory has make.bad which you can test using
make -f make.bad. Can you find the errors in the make.bad?
- Make a top level makefile, which will descend into each directory
and do a make on that level.