summaryrefslogtreecommitdiff
path: root/ledcontrol/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ledcontrol/Makefile')
-rw-r--r--ledcontrol/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/ledcontrol/Makefile b/ledcontrol/Makefile
new file mode 100644
index 0000000..9589a3a
--- /dev/null
+++ b/ledcontrol/Makefile
@@ -0,0 +1,20 @@
+PROJECT = ledcontrol
+BUILD_DIR = bin
+
+SHARED_DIR = ../lib
+CFILES = main.c
+# CFILES += api.c
+# AFILES += api-asm.S
+
+# TODO - you will need to edit these two lines!
+DEVICE=stm32f103c8
+# OOCD_FILE = board/stm32f4discovery.cfg
+
+# You shouldn't have to edit anything below here.
+VPATH += $(SHARED_DIR)
+INCLUDES += $(patsubst %,-I%, . $(SHARED_DIR))
+OPENCM3_DIR=../libopencm3
+
+include $(OPENCM3_DIR)/mk/genlink-config.mk
+include ../rules.mk
+include $(OPENCM3_DIR)/mk/genlink-rules.mk