makefile (sidescan/beam/oldstuff)
Overview
The makefile in code/sidescan/beam/oldstuff/ compiles both C and Fortran 77 legacy empirical beam-pattern processing utilities for GLORIA sidescan sonar data.
Build Targets & Compilation Rules
| Target Binary | Source File | Compiler & Libraries | Purpose |
|---|---|---|---|
viewbeam | viewbeam.f | f77 + $(F77LIBS) (-llocalf77) | Plots .beam_pattern curves to screen or metafile. |
glbeam2 | glbeam_bypass.c | cc + -llocal -ljhc -lm | Extracts and removes single-pass empirical beam patterns. |
sumbeam | sumbeam.f | f77 + $(F77LIBS) | Averages .beam_pattern files across multiple passes. |
glbeambin | glbeambin.c | cc + -llocal -ljhc -lm | Accumulates 2D grazing-angle à water-depth beam histograms (.beam_bin). |
sumbeambin | sumbeambin.f | f77 + $(F77LIBS) | Sums .beam_bin files across passes and writes 20 depth-stratified .beam_pattern files. |
glbeam_bydepth | glbeam_bydepth.c | cc + -llocal -ljhc -lm | Applies depth-stratified empirical beam patterns to .slr files. |
hack_glbeam | hack_glbeam.c | cc + -llocal -ljhc -lm | Applies customized beam pattern corrections. |
Usage
cd code/sidescan/beam/oldstuff
make glbeam2 glbeambin glbeam_bydepth sumbeam sumbeambin viewbeam