Using 'csh' in Makefiles

karron at MCIRPS2.MED.NYU.EDU karron at MCIRPS2.MED.NYU.EDU
Thu Oct 11 04:45:43 AEST 1990


make takes each action line as a separate shell exec. The way
around that is to use a backslash (\) to escape each newline. Then
make will run the entire bunch of lines as one line.
To change the default shell command, equate SHELL=/bin/csh in the
makefile.

You might want to look at pmake, which is much better at this than
make. Do a "man pmake" for more details.

+-----------------------------------------------------------------------------+
| karron at nyu.edu                          Dan Karron                          |
| . . . . . . . . . . . . . .             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) 340 5210               \**\__________________________________________ |
| Please Note :Soon to move to dan at karron.med.nyu.edu 128.122.135.3  (Mid Oct)|
+-----------------------------------------------------------------------------+



More information about the Comp.sys.sgi mailing list