Last change
on this file since 1330 was
807,
checked in by garnier, 16 years ago
|
update
|
-
Property svn:executable set to
*
|
File size:
489 bytes
|
Line | |
---|
1 | # |
---|
2 | # @(#) Script to build a Batch geant executable |
---|
3 | # |
---|
4 | set name=g4mat |
---|
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 -Dbatch -I/cern/pro/include -I../include ../src/*.F |
---|
15 | |
---|
16 | # |
---|
17 | # Link |
---|
18 | # |
---|
19 | echo 'linking geant3+cernlib libraries ...' |
---|
20 | # |
---|
21 | hepf77 $extnam -g -o $name.xb *.o \ |
---|
22 | `cernlib geant321 pawlib graflib packlib mathlib kernlib` |
---|
23 | # |
---|
24 | # |
---|
25 | chmod +x $name.xb |
---|
26 | # |
---|
27 | # cleanup |
---|
28 | # |
---|
29 | rm -f *.o |
---|
30 | echo 'done' |
---|
31 | exit |
---|
32 | |
---|
Note: See
TracBrowser
for help on using the repository browser.