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=2.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HELO_NO_DOMAIN,MAILING_LIST_MULTI,RDNS_NONE,REPLYTO_WITHOUT_TO_CC, SPOOFED_FREEMAIL_NO_RDNS autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,9635f6a5d6fe7a81 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-15 02:33:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: "Gautier direct_replies_not_read" Newsgroups: comp.lang.ada Subject: Re: gnatmake clean? Date: Sat, 15 Jun 2002 09:32:52 +0000 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: avanie.enst.fr 1024133582 77030 137.194.161.2 (15 Jun 2002 09:33:02 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Sat, 15 Jun 2002 09:33:02 +0000 (UTC) Return-Path: X-Originating-IP: [217.162.208.156] X-OriginalArrivalTime: 15 Jun 2002 09:32:52.0505 (UTC) FILETIME=[9F294890:01C2144F] Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:26014 Date: 2002-06-15T09:32:52+00:00 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