]> rtime.felk.cvut.cz Git - arc.git/blobdiff - boards/ti_tms570ls/examples/tms570_hdk_led/makefile
Added an example of LED Blinker for the TMS570LS31x HDK
[arc.git] / boards / ti_tms570ls / examples / tms570_hdk_led / makefile
diff --git a/boards/ti_tms570ls/examples/tms570_hdk_led/makefile b/boards/ti_tms570ls/examples/tms570_hdk_led/makefile
new file mode 100644 (file)
index 0000000..9964590
--- /dev/null
@@ -0,0 +1,14 @@
+\r
+\r
+PROJECTNAME=led_rte_mpc5516it\r
+ROOTDIR?=../../../..\r
+include $(ROOTDIR)/scripts/project_defaults.mk\r
+\r
+ifneq (${MAKELEVEL},0) \r
+\r
+    # Project files (adds all .c files in project root)\r
+    PROJECT_C_FILES=$(notdir $(wildcard ../*.c))\r
+    obj-y += $(PROJECT_C_FILES:%.c=%.o)\r
+\r
+\r
+endif\r