Warning, /geant4/examples/extended/electromagnetic/TestEm3/geant3/g4mat/gmakeT is written in an unsupported language. File is not indexed.
0001 #
0002 # @(#) Script to build an inTeractive geant executable
0003 #
0004 set name=g4mat
0005
0006 set extnam=" "
0007 if ($G4SYSTEM == AIX-AFS) set extnam=-qextname
0008 #
0009 mkdir $G4SYSTEM
0010 cd $G4SYSTEM
0011 #
0012 # fortran compilation
0013 #
0014 hepf77 $extnam -c -g -I/cern/pro/include -I../include ../src/*.F
0015 #
0016 # Link
0017 #
0018 echo 'linking geant3+cernlib libraries...'
0019 #
0020 hepf77 $extnam -g -o $name.xt *.o \
0021 `cernlib geant321 pawlib graflib packlib mathlib kernlib`
0022 #
0023 #
0024 chmod +x $name.xt
0025 #
0026 # cleanup
0027 #
0028 rm -f *.o
0029 echo 'done'
0030 exit
0031