help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

If the working directory does not have any makefile


From: ali hagigat
Subject: If the working directory does not have any makefile
Date: Mon, 16 Aug 2010 18:12:18 +0430

Unlike makefiles explicitly requested with ‘-f’ or ‘--file’ options,
make is not certain that
these makefiles should exist. However, if a default makefile does not
exist but can be created
by running make rules, you probably want the rules to be run so that
the makefile can be
used.
------------------------------------------------------------------------------------------------------------------------------

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?

Meanwhile in my Fedora box I get the following error by running make
without makefiles:
"make: *** No targets specified and no makefile found.  Stop."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]