comp.lang.ada
 help / color / mirror / Atom feed
* gnatmake clean?
@ 2002-06-15  7:35 David Rasmussen
  2002-06-15  8:08 ` sk
  0 siblings, 1 reply; 3+ messages in thread
From: David Rasmussen @ 2002-06-15  7:35 UTC (permalink / raw)


I find that the features of gnatmake often eliminates the need for a 
Makefile, at least for small projects. The only thing I lack or at least 
can't find, is a feature to clean (remove) rebuildable files (.o .ali 
executables etc.), or at least to force a build as if none of these 
existed. How do I do that?

/David




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gnatmake clean?
  2002-06-15  7:35 David Rasmussen
@ 2002-06-15  8:08 ` sk
  0 siblings, 0 replies; 3+ messages in thread
From: sk @ 2002-06-15  8:08 UTC (permalink / raw)


Hi,

> or at least to force a build as if none of these 
> existed. How do I do that?

Gnat Users Guide -> "-f"

-- 
-------------------------------------
-- Merge vertically for real address
-------------------------------------
s n p @ t . o
 k i e k c c m
-------------------------------------



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gnatmake clean?
@ 2002-06-15  9:32 Gautier direct_replies_not_read
  0 siblings, 0 replies; 3+ messages in thread
From: Gautier direct_replies_not_read @ 2002-06-15  9:32 UTC (permalink / raw)


David Rasmussen

>I find that the features of gnatmake often eliminates the need for a 
>Makefile, at least for small projects. The only thing I lack or at least 
>can't find, is a feature to clean (remove) rebuildable files (.o .ali 
>executables etc.), or at least to force a build as if none of these 
>existed. How do I do that?

To force rebuild, as "sk" mentioned: "gnatmake -f xxx"

If you wish to get rid of .o and .ali files, you may be
interested by CleanACU.adb in gnatpaqs.zip, URL below.
It deletes the .o and "ghost" the .ali into almost empty
files, so the .ali and .o are recreated in the same directory
with the "-i" gnatmake switch.
________________________________________________________
Gautier  --  http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: For a direct answer, address on the Web site!


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-06-15  9:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-15  9:32 gnatmake clean? Gautier direct_replies_not_read
  -- strict thread matches above, loose matches on Subject: below --
2002-06-15  7:35 David Rasmussen
2002-06-15  8:08 ` sk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox