next up previous contents
Next: cvs: A Tool for Up: gmake: A Tool for Previous: What is gmake?   Contents

Building the Zoo Program

If you want try out gmake:-

  mkdir <some_scratch_directory>
  cd <some_scratch_directory>
  cp  ~west/ttp/manual/unix_programming/cpp/* ./

now type:-

gmake

Then try:-

  touch Animal.h
  gmake

The command touch just updates the current date stamp on Animal.h so that you can see how gmake just rebuilds anything that directly, or indirectly, depends on Animal.h.

Finally type:-

gmake clean

to tidy up.



P.D. Gronbech (IT Staff) 2015-10-02