Making Protos

If you want a dependancy for the automatic creation of a prototypes file (e.g. protos.h) then create an environment variable called MAKEPROTO. Place a string with your makeproto calling format followed by a blank and then the prototype filename.

Example1:
If you use Matt Dillon's makeproto and your prototype file is called protos.h use the following command:

Setenv MAKEPROTO "makeproto -o protos.h protos.h"

Example2:
If you use Eric Smith's Public Domain mkproto utility (my choice, since it extracts the prototypes directly out of the declared functions) use the following command:

Setenv MAKEPROTO "mkproto >protos.h protos.h"

To make this setting permanent copy env:MAKEPROTO into the envarc: directory.