|
Last change
on this file since 1230 was 807, checked in by garnier, 17 years ago |
|
update
|
-
Property svn:executable
set to
*
|
|
File size:
492 bytes
|
| Rev | Line | |
|---|
| [807] | 1 | #
|
|---|
| 2 | # @(#) Script to build a Batch geant executable
|
|---|
| 3 | #
|
|---|
| 4 | set name=testem14
|
|---|
| 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.