changeset 74:3f1c101f89bc

Tell make the resulting binary dependent is dependent on the linker script.
author Daniel O'Connor <darius@dons.net.au>
date Mon, 15 Apr 2013 22:37:46 +0930
parents 3c22b02e9bf3
children 85f16813c730
files BSDmakefile.arm
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/BSDmakefile.arm	Mon Apr 15 21:33:06 2013 +0930
+++ b/BSDmakefile.arm	Mon Apr 15 22:37:46 2013 +0930
@@ -31,7 +31,7 @@
 .s.o:
 		${AS} ${CFLAGS} ${ASFLAGS} -c ${.IMPSRC} -o ${.PREFIX}.o
 
-${PROG}.elf: ${OBJS}
+${PROG}.elf: ${OBJS} ${LINKFILE}
 		${CC} ${LDFLAGS} ${OBJS} -Wl,-Map=${PROG}.map,--cref -o ${PROG}.elf ${LDADD}
 
 .elf.bin: