Last change
on this file since 1358 was
807,
checked in by garnier, 16 years ago
|
update
|
-
Property svn:executable set to
*
|
File size:
489 bytes
|
Rev | Line | |
---|
[807] | 1 | # |
---|
| 2 | # @(#) Script to build an inTeractive geant executable |
---|
| 3 | # |
---|
| 4 | set name=testem1 |
---|
| 5 | |
---|
| 6 | set extnam=" " |
---|
| 7 | if ($G4SYSTEM == AIX-AFS) set extnam=-qextname |
---|
| 8 | # |
---|
| 9 | mkdir $G4SYSTEM |
---|
| 10 | cd $G4SYSTEM |
---|
| 11 | # |
---|
| 12 | # fortran compilation |
---|
| 13 | # |
---|
| 14 | hepf77 $extnam -c -g -I/cern/pro/include -I../include ../src/*.F |
---|
| 15 | # |
---|
| 16 | # Link |
---|
| 17 | # |
---|
| 18 | echo 'linking geant3+cernlib libraries...' |
---|
| 19 | # |
---|
| 20 | hepf77 $extnam -g -o $name.xt *.o \ |
---|
| 21 | `cernlib geant321 pawlib graflib packlib mathlib kernlib` |
---|
| 22 | # |
---|
| 23 | # |
---|
| 24 | chmod +x $name.xt |
---|
| 25 | # |
---|
| 26 | # cleanup |
---|
| 27 | # |
---|
| 28 | rm -rf *.o |
---|
| 29 | echo 'done' |
---|
| 30 | exit |
---|
| 31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.