Clone of official tools

Revision:
40:7d3fa6b99b2b
Child:
43:2a7da56ebd24
diff -r c98cb013e99f -r 7d3fa6b99b2b export/mcuxpresso/makefile.targets.tmpl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/export/mcuxpresso/makefile.targets.tmpl	Tue Oct 10 16:56:30 2017 -0500
@@ -0,0 +1,13 @@
+# 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.iteritems() %}
+linker-script-{{config}}.ld: ../{{ld_script}}
+	{{data.cpp_cmd}} {{data.ld.other}} $< -o $@
+{{name}}.elf: linker-script-{{config}}.ld
+{% endfor %}