Clone of official tools
Diff: export/sw4stm32/makefile.targets.tmpl
- Revision:
- 40:7d3fa6b99b2b
- Child:
- 43:2a7da56ebd24
diff -r c98cb013e99f -r 7d3fa6b99b2b export/sw4stm32/makefile.targets.tmpl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/export/sw4stm32/makefile.targets.tmpl Tue Oct 10 16:56:30 2017 -0500 @@ -0,0 +1,16 @@ +# DO NOT REMOVE! Generated by the SW4STM32 exporter from the mbed project. + +PREPROC_CMD ?= {{cpp_cmd}} + +ldclean: +{% for config, opts in options.iteritems() %} + $(RM) {{opts['ld']['script']}} +{% endfor %} + +{% for config, opts in options.iteritems() %} +{{opts['ld']['script']}}: ../{{ld_script}} + $(PREPROC_CMD) {{opts.ld.other}} $< -o $@ + +{{name}}-{{config}}.elf: {{opts['ld']['script']}} + +{% endfor %}