gnatclean
¶You run the gnatclean
command as follow:
$ gnatclean switches names
where names
is a list of source file names. You may omit suffixes .ads
and
adb
. If a project file is specified using switch
-P
, then you may completely omit names
.
In normal mode, gnatclean
deletes the files produced by the compiler and,
if switch -c
is not specified, produced by the binder and
linker. In information-only mode, specified by switch
-n
, gnatclean
lists the files that would have been deleted in
normal mode, but doesn’t actually delete any files.