CSCI 3294 (Unix Power Tools), Spring 2006:
Homework 7

Assigned:
March 6, 2006.

Due:
March 22, 2006, at 5pm.

Credit:
20 points.

Reading

Read about the following topics in the list of suggested readings, either in one of the suggested readings or in another book or reference. (This is the topic for March 6):

Programming Problems

Do the following (sort-of-)programming problem. Turn in your finished makefile by sending mail to bmassing@cs.trinity.edu, with the file as an attachment. Please use a subject line that mentions the course number and the assignment (e.g., ``csci 3294 homework 7''). You can do this assignment on any system that provides the needed functionality, but I will check it on one of the department's Fedora Core 4 Linux machines, so you should probably make sure it works in that environment before turning it in.

  1. (20 points) Suppose you have a C program consisting of the following files:

    Write a makefile that:

    You can make use of the implicit rules defined by make if they will help. (They probably will.)

    If you want to do some testing of your makefile, create minimal files as described above. Notice that the command touch can be used to change a file's timestamp without opening it in an editor, etc.



Berna Massingill
2006-03-06