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 15:22:34 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.telebyte.nl!proxad.net!wanadoo.fr!not-for-mail From: Guillaume Foliard Newsgroups: comp.lang.ada Subject: Re: Using GNU make with ObjectAda Date: Tue, 09 Sep 2003 00:22:33 +0200 Organization: Old Europe Message-ID: References: NNTP-Posting-Host: aboulogne-102-1-5-248.w193-252.abo.wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news-reader1.wanadoo.fr 1063059753 24091 193.252.195.248 (8 Sep 2003 22:22:33 GMT) X-Complaints-To: abuse@wanadoo.fr NNTP-Posting-Date: 8 Sep 2003 22:22:33 GMT User-Agent: KNode/0.7.2 Xref: archiver1.google.com comp.lang.ada:42295 Date: 2003-09-08T22:22:33+00:00 List-Id: Stephen Leake wrote: > Guillaume Foliard writes: >> 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. I feel my answer was too short, or maybe my english is awkward, please forgive me. I was not telling not to use Makefiles, but I was suprised to see that one could wonder about generating Ada source files dependencies like in C. And of course I'm a strong advocate at my workplace of Makefiles use instead of half-baked shell scripts, for all the hereabove tasks you're describing. Except interacting with a CM system, maybe. Could you elaborate on this one ? I'm rather used to the development model of the free software world and I don't see any immediate advantages of performing CM tasks through a build system. -- Guillaume