diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-06-24 16:36:50 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-06-24 16:36:50 -0700 |
commit | 3b417b4dca768183bd5ef21618055c64e0d7e4d1 (patch) | |
tree | 6752c39b3284b4d6e003d2e4130a4954761639fb | |
parent | ddd18e83986a6416298ed827a6b390d2f9a81434 (diff) | |
download | syslinux-elf-3b417b4dca768183bd5ef21618055c64e0d7e4d1.tar.gz syslinux-elf-3b417b4dca768183bd5ef21618055c64e0d7e4d1.tar.xz syslinux-elf-3b417b4dca768183bd5ef21618055c64e0d7e4d1.zip |
core: assume NASM 2.03 or later, so we can use -MD for deps
Let's require NASM 2.03 or later, so we can use the -MD and -MP
options to generate dependencies.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | core/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/Makefile b/core/Makefile index 6a374cc6..c4bcbd47 100644 --- a/core/Makefile +++ b/core/Makefile @@ -82,11 +82,9 @@ kwdhash.gen: keywords genhash.pl $(PREPCORE) $< $@ %.o: %.asm kwdhash.gen ../version.gen - ( $(NASM) -f elf $(NASMOPT) -M -DDEPEND $(NINCLUDE) \ - -o $@ $< ; echo '' ) > .$@.d; true $(NASM) -f elf $(NASMOPT) -DDATE_STR="'$(DATE)'" \ -DHEXDATE="$(HEXDATE)" \ - -l $(@:.o=.lsr) -o $@ $< + -l $(@:.o=.lsr) -o $@ -MP -MD .$@.d $< %.elf: %.o $(LIBS) syslinux.ld $(LD) $(LDFLAGS) -T syslinux.ld -M -o $@ $< $(LIBS) > $(@:.elf=.map) |