From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,112ee4ae931079e6 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-09-08 06:58:38 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Using GNU make with ObjectAda Date: 08 Sep 2003 09:48:43 -0400 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1063029066 5278 128.183.235.92 (8 Sep 2003 13:51:06 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 8 Sep 2003 13:51:06 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Xref: archiver1.google.com comp.lang.ada:42276 Date: 2003-09-08T13:51:06+00:00 List-Id: Guillaume Foliard 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 > adabuild > > 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