diff options
| author | Physick <96335032+DegustatorPonos@users.noreply.github.com> | 2025-12-18 16:37:25 +0500 |
|---|---|---|
| committer | Physick <96335032+DegustatorPonos@users.noreply.github.com> | 2025-12-18 16:37:25 +0500 |
| commit | df6f89abeab60e91a348484cdceadb758290f234 (patch) | |
| tree | e666933a0906cf80d063e71c6ac3c62827f8a5db /src/Makefile | |
Template init
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile new file mode 100644 index 0000000..9e86f13 --- /dev/null +++ b/src/Makefile @@ -0,0 +1,17 @@ +PROJECT = blink-led +BUILD_DIR = bin + +CFILES = main.c + +# 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 |
