#! /usr/sbin/smake

DanKarron at UCBVAX.BERKELEY.EDU DanKarron at UCBVAX.BERKELEY.EDU
Thu Apr 25 11:46:20 AEST 1991


I just observed that if the above comment was put into a makefile,
in the first character, like a shell directive,
then when you type make, make will use that program to
process the makefile, instead of the default make.

This is a really useful feature. I never noticed it in the documentation.

In this way, my makefiles can know that they are to be processed
by , say pmake or smake instead of the default make.

Cheers!


| karron at nyu.edu (e-mail alias )         Dan Karron, Research Associate      |
| Phone: 212 263 5210 Fax: 212 263 7190  New York University Medical Center  |
| 560 First Avenue                       Digital Pager <1> (212) 397 9330    |
| New York, New York 10016               <2> 10896   <3> <your-number-here>  |



More information about the Comp.sys.sgi mailing list