Hey There,
The most basic way to look at a Makefile is
and they can be nested. So these lines
Quote:
all : binaries docs
binaries : touch binaries
docs: touch docs
|
If you called "Makefile all", it would do binaries and docs. If you called "Makefile binaries" or "Makefile docs", it would only use that one. You can set variables and a lot more in there, but that's basic part of it.
Hope that helps
Mike