aboutsummaryrefslogtreecommitdiffstats
path: root/memdisk/Makefile
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-04-27 21:48:20 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-04-27 21:48:20 -0700
commit5869c2d6216298b48d66fcdf0aa9de2937479338 (patch)
tree3f0a7fbc4226438d156d709d9928c5d5b289ff79 /memdisk/Makefile
parente6d94cc986897ac80a13a5eedd8ab38d581b0453 (diff)
downloadsyslinux.git-5869c2d6216298b48d66fcdf0aa9de2937479338.tar.gz
syslinux.git-5869c2d6216298b48d66fcdf0aa9de2937479338.tar.xz
syslinux.git-5869c2d6216298b48d66fcdf0aa9de2937479338.zip
Fix NASM dependency generation
Fix missing -M from NASM dependency generation calls; adopt the uniform stanza "-M -DDEPEND" even for sites that were already correct. Also, use ">" not ">>" for obvious reasons... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'memdisk/Makefile')
-rw-r--r--memdisk/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/memdisk/Makefile b/memdisk/Makefile
index 201dffaf..3bb97ffd 100644
--- a/memdisk/Makefile
+++ b/memdisk/Makefile
@@ -62,12 +62,12 @@ memdisk16.o: memdisk16.asm
%.o: %.asm
memdisk16.o: memdisk16.asm
- ( $(NASM) -DDEPEND $(NFLAGS) $(NINCLUDE) -o $@ $< ; echo '' ) >> .$@.d ; true
+ ( $(NASM) -M -DDEPEND $(NFLAGS) $(NINCLUDE) -o $@ $< ; echo '' ) > .$@.d ; true
$(NASM) -f elf $(NASMOPT) $(NFLAGS) $(NINCLUDE) -o $@ -l $*.lst $<
.PRECIOUS: %.bin
%.bin: %.asm
- ( $(NASM) -DDEPEND $(NFLAGS) $(NINCLUDE) -o $@ $< ; echo '' ) >> .$@.d ; true
+ ( $(NASM) -M -DDEPEND $(NFLAGS) $(NINCLUDE) -o $@ $< ; echo '' ) > .$@.d ; true
$(NASM) -f bin $(NASMOPT) $(NFLAGS) $(NINCLUDE) -o $@ -l $*.lst $<
memdisk_%.o: memdisk_%.bin