home *** CD-ROM | disk | FTP | other *** search
/ Photo CD Demo 1 / Demo.bin / cellsim / v2_5 / cm2 / make.csh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  1990-02-26  |  296 b   |  18 lines

  1. #!/bin/csh
  2. if (-f /bin/arch) then
  3.     set arch=sun4
  4. else
  5.     set arch=vax
  6. endif
  7.  
  8. switch ("$arch")
  9.     case sun4:
  10.     echo "===== making for sun4 ====="
  11.     cd sun4.objs ; make -f Makefile.sun4 $*
  12.     breaksw
  13.     case vax:
  14.     echo "===== making for vax ====="
  15.     cd vax.objs ; make -f Makefile.vax $*
  16.     breaksw
  17. endsw
  18.