How to refer to name of executable produced by makefile? #4819
-
|
How does AMReX generate the name/rule of executable in makefile(s)? For example if I wanted to add a rule to https://github.com/AMReX-Codes/amrex-tutorials/blob/main/ExampleCodes/Basic/HeatEquation_EX0_C/Exec/GNUmakefile for testing that depends on produced executable: how is above |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
The variable Also maybe relevant: AMReX has a feature that |
Beta Was this translation helpful? Give feedback.
The variable
executablewithin Make should be what you need, i.e.Also maybe relevant: AMReX has a feature that
make print-VARIABLEprints the eventual value of that variable.So
make print-executableoutputs: