Unify dependency generation
authorH. Peter Anvin <hpa@zytor.com>
Tue, 28 Apr 2009 03:58:14 +0000 (20:58 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 28 Apr 2009 03:58:14 +0000 (20:58 -0700)
commitfe9385228a7845e98485c925031ee5a46f5dfd3b
tree93f63bc09e86b3f8c0139e87a017f3c0f015eccb
parentf2dc4e108dbec03b05f8629626b0006454e6195e
Unify dependency generation

Make the dependency generation more common; have a general pattern in
MCONFIG, and use it in rules (not in CFLAGS).

For NASM source, in order to stay compatible with old versions of
NASM, run NASM twice; newer versions of NASM is capable of generating
dependencies simultaneously like gcc can, but that would break
compatibility with older distros.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
MCONFIG
com32/MCONFIG
core/Makefile
dos/Makefile
extlinux/Makefile
linux/Makefile
mbr/Makefile
mtools/Makefile
utils/Makefile
win32/Makefile