summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-06-24 16:39:08 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-06-24 16:39:08 -0700
commitc97b8cbafac4924cfc3980c0e0d96c813ed4e1f7 (patch)
tree7a0c1ff567b2fee57dd0968114701d11a3b6f6dd
parent3b417b4dca768183bd5ef21618055c64e0d7e4d1 (diff)
downloadsyslinux-c97b8cbafac4924cfc3980c0e0d96c813ed4e1f7.tar.gz
dos: assume NASM 2.03, so use -MP -MD for dependencies
Assume NASM 2.03 or later, so use -MP -MD to generate dependencies. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--dos/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/dos/Makefile b/dos/Makefile
index 5bef97b7..10d8f6bb 100644
--- a/dos/Makefile
+++ b/dos/Makefile
@@ -65,7 +65,6 @@ syslinux.com: syslinux.elf
true
%.com: %.asm
- ( $(NASM) -M -DDEPEND $(NASMOPT) -o $@ -M $< && echo '' ) > .$@.d; true
- $(NASM) $(NASMOPT) -f bin -o $@ -l $*.lst $<
+ $(NASM) $(NASMOPT) -f bin -o $@ -MP -MD .$@.d -l $*.lst $<
-include .*.d *.tmp