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-Thread: a07f3367d7,163994d4f34e92d0 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.224.219.205 with SMTP id hv13mr5927870qab.5.1344262835907; Mon, 06 Aug 2012 07:20:35 -0700 (PDT) Received: by 10.66.84.38 with SMTP id v6mr1283778pay.7.1344262735989; Mon, 06 Aug 2012 07:18:55 -0700 (PDT) Path: c6ni64650837qas.0!nntp.google.com!r1no7199095qas.0!news-out.google.com!g9ni23470308pbo.0!nntp.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!novia!feed-C.news.volia.net!volia.net!news2.volia.net!feed-A.news.volia.net!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!news.panservice.it!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: how to tell gnatmake to send executables to a different directory when compiling multi source? Date: Sun, 29 Jul 2012 15:49:21 +0200 Organization: A noiseless patient Spider Message-ID: <87wr1moexq.fsf@ludovic-brenta.org> References: <214bbd15-f7cb-4710-a6a7-64f37923bf4e@googlegroups.com> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="38cf13a3fe89469cc7bfc9026f7b3336"; logging-data="9762"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Kii8ItGf2sMkl3SYMx9FK" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:dF2JfTkD6WEfbEGs9v9ocF5qQ14= sha1:Pt8dswQTFcs6xk2a58NBwcbM/6M= X-Original-Bytes: 1836 Content-Type: text/plain; charset=us-ascii Date: 2012-07-29T15:49:21+02:00 List-Id: Nasser M. Abbasi writes on comp.lang.ada: > On 7/29/2012 7:29 AM, Patrick wrote: > >> I just put all my files in different directories and use a shell >>script to cp them into a build directory. >> > > I do not think there is a need to do such things. use recursive make > if you must. > > Make can run bash commands. > > Here is very simple note on using recusive Make > > http://12000.org/my_notes/cheat_sheets/make_notes/index.htm And here is a very detailed note about why *not* to use recursive Make: http://miller.emu.id.au/pmiller/books/rmch/ -- Ludovic Brenta.