Add the -MP option to emit phony targets
commit9e1f528c3634af3ce3650c1784f20eeae62abe42
authorH. Peter Anvin <hpa@zytor.com>
Fri, 30 May 2008 04:38:00 +0000 (29 21:38 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 30 May 2008 04:38:00 +0000 (29 21:38 -0700)
tree5f3cf4ae0240b09c62548174f6584ca2b123c840
parent46fe1eed76bbb4ede2ddc0265d6b5e6cc2389abf
Add the -MP option to emit phony targets

Add the -MP option to emit phony targets.  Since this means each
header file has to be visited more than once, change the
implementation to use an internal list of all the dependencies, and
centralize the emission of the dependency files.
CHANGES
doc/nasmdoc.src
nasm.c
nasm.h
preproc.c