Clone of official tools

export/mcuxpresso/makefile.targets.tmpl

Committer:
Anders Blomdell
Date:
2021-02-04
Revision:
47:21ae3e5a7128
Parent:
43:2a7da56ebd24

File content as of revision 47:21ae3e5a7128:

# DO NOT REMOVE! Generated by the MCUXpresso exporter from an mBed project.

mbedclean:
	$(RM) $(OBJS)
	$(RM) $(CC_DEPS)$(C++_DEPS)$(C_UPPER_DEPS)$(CXX_DEPS)$(C_DEPS)$(CPP_DEPS)
	$(RM) $(EXECUTABLES) {{name}}.* linker-script-*.ld
	-@echo ' '

{% for config, data in options.items() %}
linker-script-{{config}}.ld: ../{{ld_script}}
	{{data.cpp_cmd}} {{data.ld.other}} $< -o $@
{{name}}.elf: linker-script-{{config}}.ld
{% endfor %}