From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12426 invoked by alias); 28 Jan 2002 12:28:06 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 12297 invoked from network); 28 Jan 2002 12:28:00 -0000 Received: from unknown (HELO tele-post-20.mail.demon.net) (194.217.242.20) by sources.redhat.com with SMTP; 28 Jan 2002 12:28:00 -0000 Received: from mailgate.softwire.co.uk ([62.49.203.138] helo=polarbear) by tele-post-20.mail.demon.net with esmtp (Exim 2.12 #2) id 16VAtD-0004cO-0K; Mon, 28 Jan 2002 12:27:59 +0000 From: "Rupert Wood" To: "'Momchil Velikov'" Cc: , Subject: RE: Problems with make Date: Mon, 28 Jan 2002 04:28:00 -0000 Message-ID: <616BE6A276E3714788D2AC35C40CD18D03AA08@whale.softwire.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 In-Reply-To: <616BE6A276E3714788D2AC35C40CD18D393F99@whale.softwire.co.uk> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-SW-Source: 2002-01/txt/msg00265.txt.bz2 Momchil Velikov wrote: > >> When I run >>make makefile : > Rupert> You need to tell make what you'd like it to build. If you > Rupert> don't specify anything then it assumes a target 'all' which > Rupert> doesn't exist in your makefile. > > Actually it picks up the first target, no need for ``all''. > > The problem is that there's no dependency upon the Makefile itself. Oops, yes, I stand corrected; answered from memory without checking docs. I also hadn't noticed that he was running 'make makefile' instead of plain 'make'. Kabir, if you want to specify the makefile to use then you should type 'make -f '. It will automatically search a number of filenames to use as the makefile including 'makefile' and 'Makefile' if you don't specify -f. Rup.