--- ray/makeall 2005/02/02 00:09:13 1.15 +++ ray/makeall 2005/08/09 21:21:14 1.19 @@ -1,5 +1,5 @@ #!/bin/csh -f -# RCSid $Id: makeall,v 1.15 2005/02/02 00:09:13 greg Exp $ +# RCSid $Id: makeall,v 1.19 2005/08/09 21:21:14 greg Exp $ # # Make all the Radiance programs # @@ -16,13 +16,13 @@ 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 "" exit 0 endif -set srcdirs=( common meta cv gen ot rt px hd util cal ) +set srcdirs=( common rt meta cv gen ot px hd util cal ) if ( "$1" == install ) then cat << _EOF_ @@ -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."