view makefile-frags/link-steps @ 61:dba3f097489e

makefile-frags: initial concept
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 01 Oct 2016 01:28:01 +0000
parents
children 065aacae8b37
line wrap: on
line source

str2ind.obj:	str2ind.c
	../toolwrap/cl470 -q -c -me -mt -o -pw2 -x -mw str2ind.c

link.cmd:	${LINK_SCRIPT_SRC} Makefile lcfgen
	perl ../scripts/ti/make-cmd.pl lcfgen $@ 0 ${LINK_SCRIPT_SRC} \
		${SPECIAL_LINK_LIBS}

gsm-fw.out:	${LIBS} str2ind.obj link.cmd
	../toolwrap/vlnk470 -farcall -x -o $@ -m gsm-fw.map $^

gsm-fw.m0:	gsm-fw.out
	../toolwrap/hex470 -m -memwidth 16 -romwidth 16 gsm-fw.out

gsm-fw.bin:	gsm-fw.m0
	mokosrec2bin gsm-fw.m0 $@ FF