mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-12 09:58:36 +00:00
9a81351403
After reading Makefile and all the files that are included using .include or .sinclude directives (source Makefiles) make considers each source Makefile as a target and tries to rebuild it. Both explicit and implicit rules are checked and all source Makefiles are updated if necessary. If any of the source Makefiles were rebuilt, make restarts from clean state. To prevent infinite loops the following source Makefile targets are ignored: - :: targets that have no prerequisites but have commands - ! targets - targets that have .PHONY or .EXEC attributes - targets without prerequisites and without commands When remaking a source Makefile options -t (touch target), -q (query mode), and -n (no exec) do not take effect, unless source Makefile is specified explicitly as a target in make command line. Additionally, system makefiles and .depend are not considered as a Makefiles that can be rebuilt. Reviewed by: harti |
||
---|---|---|
.. | ||
PSD.doc | ||
arch.c | ||
arch.h | ||
buf.c | ||
buf.h | ||
cond.c | ||
cond.h | ||
config.h | ||
dir.c | ||
dir.h | ||
for.c | ||
for.h | ||
globals.h | ||
GNode.h | ||
hash_tables.c | ||
hash_tables.h | ||
hash.c | ||
hash.h | ||
job.c | ||
job.h | ||
lst.c | ||
lst.h | ||
main.c | ||
make.1 | ||
make.c | ||
make.h | ||
Makefile | ||
Makefile.dist | ||
parse.c | ||
parse.h | ||
pathnames.h | ||
proc.c | ||
proc.h | ||
shell.c | ||
shell.h | ||
str.c | ||
str.h | ||
suff.c | ||
suff.h | ||
targ.c | ||
targ.h | ||
util.c | ||
util.h | ||
var.c | ||
var.h |