Makefile madness

DanKarron at UCBVAX.BERKELEY.EDU DanKarron at UCBVAX.BERKELEY.EDU
Sun Mar 17 02:39:39 AEST 1991


I want to make a standard make/smake/pmake rule for the depend: pseudotarget.

Then I want to include the list of target rules generated by makedepend, but
if the file generated by makedepend is not found, make aborts. Now how
can I get around this circular problem:

If Makedepend is not found as an include file, just run mkdepend instead of
aborting!

Also, how can I make all of the .c or .h files a dependency for depend : ?

Cheers!

dan.
+-----------------------------------------------------------------------------+
| karron at nyu.edu (E-mail alias that will always find me)                      |
| Fax: 212 263 7190           *           Dan Karron, Research Associate      |
| . . . . . . . . . . . . . . *           New York University Medical Center  |
| 560 First Avenue           \*\    Pager <1> (212) 397 9330                  |
| New York, New York 10016    \**\        <2> 10896   <3> <your-number-here>  |
| (212) 263 5210               \***\_________________________________________ |
| Main machine: karron.med.nyu.edu (128.122.135.3) IRIS 85GT                  |
+-----------------------------------------------------------------------------+



More information about the Comp.sys.sgi mailing list