diff BSDmakefile.arm @ 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 7e5916574d5e
children c0ff52b8e80c
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: