--- ray/makeall 2005/05/07 18:57:43 1.16 +++ ray/makeall 2005/08/09 21:21:14 1.19 @@ -1,5 +1,5 @@ #!/bin/csh -f -# RCSid $Id: makeall,v 1.16 2005/05/07 18:57:43 greg Exp $ +# RCSid $Id: makeall,v 1.19 2005/08/09 21:21:14 greg Exp $ # # Make all the Radiance programs # @@ -16,7 +16,7 @@ if ( "$1" == library ) then echo "Set the environment variable RAYPATH=.:$ldir" echo 'For C-shell users, put the following into ~/.cshrc' echo " setenv RAYPATH .:$ldir" - echo 'For Bourne shell users, put the following into $HOME/profile' + echo 'For Bourne shell users, put the following into $HOME/.profile' echo " RAYPATH=.:$ldir" echo " export RAYPATH" echo "" @@ -180,7 +180,7 @@ case 8: # FreeBSD set mach="-DBSD -DNOSTEREO -Dfreebsd -I/usr/X11R6/include -L/usr/X11R6/lib" set opt="-O -DSPEED=200" set compat="erf.o" - set extras="CC=cc" + set extras='CC=cc MLIB="-lcompat -lm"' set arch=IBMPC breaksw case 9: # Cygwin @@ -260,7 +260,7 @@ if (! $inpath ) then echo "Add $idir to the beginning of your execution path:" echo 'For C-shell users, put the following into ~/.cshrc' echo " set path=( $idir "'$path )' - echo 'For Bourne shell users, put the following into $HOME/profile' + echo 'For Bourne shell users, put the following into $HOME/.profile' echo " PATH=$idir"':$PATH' echo " export PATH" endif @@ -276,7 +276,7 @@ cd .. foreach i ( $* ) if ( "$i" == clean ) then echo "Removing library archives..." - rm -f src/lib/*.[ao] + rm -f src/lib/*.{a,o,la} endif end echo "Done."