Path: utzoo!attcan!uunet!cs.utexas.edu!usc!ucsd!ucbvax!MCIRPS2.MED.NYU.EDU!karron From: karron@MCIRPS2.MED.NYU.EDU Newsgroups: comp.sys.sgi Subject: Re: Using 'csh' in Makefiles Message-ID: <9010102030.AA23475@mcirps2.med.nyu.edu> Date: 10 Oct 90 18:45:43 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: karron%CMCL2.NYU.EDU@cunyvm.cuny.edu Organization: The Internet Lines: 18 X-Unparsable-Date: Wed, 10 Oct 90 13:30:23 DSD 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@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> | | (212) 340 5210 \**\__________________________________________ | | Please Note :Soon to move to dan@karron.med.nyu.edu 128.122.135.3 (Mid Oct)| +-----------------------------------------------------------------------------+