[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: If the working directory does not have any makefile
From: |
Paul Smith |
Subject: |
Re: If the working directory does not have any makefile |
Date: |
Mon, 16 Aug 2010 11:02:39 -0400 |
On Mon, 2010-08-16 at 18:12 +0430, ali hagigat wrote:
> Suppose if i do not have any makefile at the working directory and i
> run `make` command.
> The manual says this command will create a makefile by running make
> rules! When there is no makefile, where will be those make rules?
See the section of the manual entitled "Catalog of Implicit Rules".
> Meanwhile in my Fedora box I get the following error by running make
> without makefiles:
> "make: *** No targets specified and no makefile found. Stop."
Sure. Make can't guess what you might want it to do, given no
information.