summaryrefslogtreecommitdiff
path: root/sample
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 /sample
parente6d94cc986897ac80a13a5eedd8ab38d581b0453 (diff)
downloadsyslinux-5869c2d6216298b48d66fcdf0aa9de2937479338.tar.gz
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 'sample')
-rw-r--r--sample/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/Makefile b/sample/Makefile
index e6bf5def..9fa21c2a 100644
--- a/sample/Makefile
+++ b/sample/Makefile
@@ -42,7 +42,7 @@ all: syslogo.lss comecho.com hello.c32 hello2.c32 filetest.c32 c32echo.c32 \
$(OBJCOPY) -O binary $< $@
%.com: %.asm
- ( $(NASM) -DDEPEND -o $@ $< ; echo '' ) >> .$@.d ; true
+ ( $(NASM) -M -DDEPEND -o $@ $< ; echo '' ) > .$@.d ; true
$(NASM) $(NASMOPT) -f bin -o $@ -l $*.lst $<
$(LIB): $(LIBOBJS)