mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-12 14:59:01 +00:00
Update cheatsheets
This commit is contained in:
21
gnatmake
Normal file
21
gnatmake
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
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/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}}`
|
||||
Reference in New Issue
Block a user