comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <Stephe.Leake@nasa.gov>
Subject: Re: Using GNU make with ObjectAda
Date: 08 Sep 2003 09:48:43 -0400
Date: 2003-09-08T13:51:06+00:00	[thread overview]
Message-ID: <uk78jfl1g.fsf@nasa.gov> (raw)
In-Reply-To: bjdgs5$run$1@news-reader5.wanadoo.fr

Guillaume Foliard <guifo@wanadoo.fr> writes:

> Tim Spargo wrote:
> 
> > Hi,
> > 
> > I am relatively new to Ada (from the Dark side - C++). I am trying to use
> > GNU make to create a makefile for some ObjectAda projects I am working on.
> > .........
> > Any thoughts from the learned Ada people out there would be appreciated...
> > Even a general direction would be helpful...
> 
> I do not understand why you want to generate dependencies. I'm using the
> command line version of ObjectAda under Unix everyday for more than 3 years
> now and I _never_ had to do this. Here is what to do :
> 
> adareg <list of Ada files>
> adabuild <unit>
> 
> That's all.

There's more to real projects than just creating the main Ada
executable.

You also have to run the unit tests, and see if they pass.

You also have to run any preprocessors needed (gnatprep, Auto_Text_IO,
whatever). 

You may want to generate tar files for source distribution.

You may want to interact with the CM system.

Makefiles are very good for all of these other tasks.

-- 
-- Stephe



  reply	other threads:[~2003-09-08 13:48 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-04 22:16 Using GNU make with ObjectAda Tim Spargo
2003-09-05 12:13 ` Georg Bauhaus
2003-09-06 12:21   ` Tim Spargo
2003-09-06 13:00     ` Marin David Condic
2003-09-06 14:37     ` Ludovic Brenta
2003-09-07 20:42       ` Robert I. Eachus
2003-09-15  4:16       ` Dave Thompson
2003-09-06 20:42 ` Guillaume Foliard
2003-09-08 13:48   ` Stephen Leake [this message]
2003-09-08 22:22     ` Guillaume Foliard
2003-09-09  0:05       ` Ludovic Brenta
2003-09-09 13:38       ` Stephen Leake
  -- strict thread matches above, loose matches on Subject: below --
2003-09-08  9:00 Lionel.DRAGHI
replies disabled

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