aboutsummaryrefslogtreecommitdiffstats
path: root/memdisk
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-03-16 21:32:32 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-03-16 21:32:32 -0700
commit332a924759efe50e783ad3116ecf17d518dfebe2 (patch)
treecfb98487cddc746ef4f53241206386aed4427658 /memdisk
parentd71ceedb019b67a8b519eb305b3f26459e054459 (diff)
downloadsyslinux.git-332a924759efe50e783ad3116ecf17d518dfebe2.tar.gz
syslinux.git-332a924759efe50e783ad3116ecf17d518dfebe2.tar.xz
syslinux.git-332a924759efe50e783ad3116ecf17d518dfebe2.zip
*/Makefile: fixes for older versions of NASM
Deal with issues that made older versions of nasm: a) prevent "make spotless" from running b) generate bad dependencies (no final newline)
Diffstat (limited to 'memdisk')
-rw-r--r--memdisk/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/memdisk/Makefile b/memdisk/Makefile
index 19cf9cdb..93575c30 100644
--- a/memdisk/Makefile
+++ b/memdisk/Makefile
@@ -112,9 +112,12 @@ memdisk.o: memdisk.bin
.depend:
rm -f .depend
- for csrc in *.c ; do $(CC) $(INCLUDE) $(CFLAGS) -MM $$csrc >> .depend ; done
- for ssrc in *.S ; do $(CC) $(INCLUDE) $(SFLAGS) -MM $$ssrc >> .depend ; done
- for nsrc in $(NASMSRC) ; do $(NASM) -DDEPEND $(NINCLUDE) -o `echo $$nsrc | sed -e 's/\.asm/\.bin/'` -M $$nsrc >> .depend ; done
+ for csrc in *.c ; do $(CC) $(INCLUDE) $(CFLAGS) -MM $$csrc >> .depend ; done ; true
+ for ssrc in *.S ; do $(CC) $(INCLUDE) $(SFLAGS) -MM $$ssrc >> .depend ; done ; true
+ for nsrc in $(NASMSRC) ; do \
+ ( $(NASM) -DDEPEND $(NINCLUDE) -o \
+ `echo $$nsrc | sed -e 's/\.asm/\.bin/'` -M $$nsrc ; \
+ echo '' ) >> .depend ; done ; true
depend:
rm -f .depend