Rtos API example

Revision:
0:9fca2b23d0ba
diff -r 000000000000 -r 9fca2b23d0ba mbed-os/tools/export/sw4stm32/makefile.targets.tmpl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-os/tools/export/sw4stm32/makefile.targets.tmpl	Sat Feb 23 12:13:36 2019 +0000
@@ -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 %}