aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorhpa <hpa>2003-01-30 20:04:26 +0000
committerhpa <hpa>2003-01-30 20:04:26 +0000
commit38e4a2e1e8f2ecd095b2499399fcc303eea1a4f4 (patch)
tree2470a80a6d5aba020c383e1655e36f15ad96cbd3 /Makefile
parent11ce0fe76df72ceae5fcb70976ce59cb4e462f8e (diff)
downloadsyslinux-38e4a2e1e8f2ecd095b2499399fcc303eea1a4f4.tar.gz
syslinux-38e4a2e1e8f2ecd095b2499399fcc303eea1a4f4.tar.xz
syslinux-38e4a2e1e8f2ecd095b2499399fcc303eea1a4f4.zip
Use -MM instead of -M for generating dependencies
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f0b689e6..e04f219d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
## -----------------------------------------------------------------------
## $Id$
##
-## Copyright 1998-2001 H. Peter Anvin - All Rights Reserved
+## Copyright 1998-2003 H. Peter Anvin - All Rights Reserved
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
@@ -187,7 +187,7 @@ spotless: local-clean dist local-spotless
.depend:
rm -f .depend
- for csrc in $(CSRC) ; do $(CC) $(INCLUDE) -M $$csrc >> .depend ; done
+ for csrc in $(CSRC) ; do $(CC) $(INCLUDE) -MM $$csrc >> .depend ; done
for nsrc in $(NASMSRC) ; do $(NASM) -DDEPEND $(NINCLUDE) -o `echo $$nsrc | sed -e 's/\.asm/\.bin/'` -M $$nsrc >> .depend ; done
local-depend: