This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with 'make'


The first target in you "Makefile" is the default--the one that will be built if no target arguments are given on the command line.

In the Makefile you attached, the "all" target is indeed the default and it depends on the targets "genseq", "testvi", "testfor" and "esthmm".

When "make" tells you that "all" is up-to-date, it means just that: That all the physical targets derived from "all" are up-to-date and no compiling or linking is needed. By physical targets, I mean actual files, not intermediate / virtual targets like "all."

If you run "make clean" and then "make" (default), you'll see your source files compiled and linked.

This is pretty elementary "make" stuff. If you're going to be using "make," which is a good idea if you're doing C / C++ programming (use Ant for Java, of course), you should check out some tutorial materials on the Internet or pick up a book.

Randall Schulz
Mountain View, CA USA

At 19:09 2002-09-05, Juan Antonio Rivera Vila wrote:

Well there is no 'all' file or directory. I have no idea about the
dependences of the '.PHONY' target -Sorry, I'm a newbie-. But, I have
attached the Makefile I use to compile, I hope this will clarify the

Thanks a lot in advance!


----- Original Message -----
From: "Igor Pechtchanski" <>
To: "Juan Antonio Rivera Vila" <>
Cc: <>
Sent: Friday, September 06, 2002 3:44 AM
Subject: Re: Problem with 'make'

> On Fri, 6 Sep 2002, Juan Antonio Rivera Vila wrote:
> > Hi to all,
> > Everytime I try to run make utility using
> >
> > $ make -f Makefile
> >
> > I get a message like this
> >
> > make: 'all' is up to date.
> >
> > Do you what does it mean?
> >
> > Thanks!
> > Juan

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]