mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
505 B
Plaintext
22 lines
505 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# gnatmake
|
|
|
|
> A low-level build tool for Ada programs (part of the GNAT toolchain).
|
|
> More information: <https://gcc.gnu.org/onlinedocs/gnat_ugn/Switches-for-gnatmake.html>.
|
|
|
|
- Compile an executable:
|
|
|
|
`gnatmake {{source_file1.adb source_file2.adb ...}}`
|
|
|
|
- Set a custom [o]utput executable name:
|
|
|
|
`gnatmake -o {{executable_name}} {{source_file.adb}}`
|
|
|
|
- [f]orce recompilation:
|
|
|
|
`gnatmake -f {{source_file.adb}}`
|