Newer
Older
mbed-os / tools / export / sw4stm32 / makefile.targets.tmpl
@Jimmy Brisson Jimmy Brisson on 5 Feb 2018 394 bytes Python2+3: iteritems -> items
# DO NOT REMOVE! Generated by the SW4STM32 exporter from the mbed project.

PREPROC_CMD ?= {{cpp_cmd}}

ldclean:
{% for config, opts in options.items() %}
	$(RM) {{opts['ld']['script']}}
{% endfor %}

{% for config, opts in options.items() %}
{{opts['ld']['script']}}: ../{{ld_script}}
	$(PREPROC_CMD) {{opts.ld.other}} $< -o $@

{{name}}-{{config}}.elf: {{opts['ld']['script']}}

{% endfor %}