mbed-os/tools/export/sw4stm32/makefile.targets.tmpl

17 lines
394 B
Cheetah
Raw Normal View History

# DO NOT REMOVE! Generated by the SW4STM32 exporter from the mbed project.
PREPROC_CMD ?= {{cpp_cmd}}
ldclean:
2018-01-12 21:46:44 +00:00
{% for config, opts in options.items() %}
$(RM) {{opts['ld']['script']}}
{% endfor %}
2018-01-12 21:46:44 +00:00
{% for config, opts in options.items() %}
{{opts['ld']['script']}}: ../{{ld_script}}
$(PREPROC_CMD) {{opts.ld.other}} $< -o $@
{{name}}-{{config}}.elf: {{opts['ld']['script']}}
{% endfor %}