1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 22:22:18 +02:00
tldr/pages/common/gnatmake.md
2022-10-09 19:04:52 -03:00

16 lines
404 B
Markdown

# gnatmake
> A low-level build tool for Ada programs (part of the GNAT toolchain).
> More information: <https://gcc.gnu.org/onlinedocs/gnat_ugn/Building-with-gnatmake.html>.
- Compile an executable:
`gnatmake {{source_file1.adb source_file2.adb ...}}`
- Set a custom executable name:
`gnatmake -o {{executable_name}} {{source_file.adb}}`
- [f]orce recompilation:
`gnatmake -f {{source_file.adb}}`