summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorPhysick <96335032+DegustatorPonos@users.noreply.github.com>2026-01-02 22:41:25 +0500
committerPhysick <96335032+DegustatorPonos@users.noreply.github.com>2026-01-02 22:41:25 +0500
commit9477bf2b6cce08f648b1d9b3c37a2bf697854e70 (patch)
tree7c94f575961e41e50d65052d473735b6daa11f0e /src/Makefile
Not working version
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..a32c435
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,19 @@
+PROJECT = blink-led
+BUILD_DIR = bin
+
+SHARED_DIR = ../lib
+CFILES = main.c
+CFILES += ili9341.c
+CFILES += spi_sw.c
+
+# TODO - you will need to edit these two lines!
+DEVICE=stm32f103c8
+
+# 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