diff options
author | Karl Palsson <karlp@tweak.net.au> | 2018-08-29 13:52:40 +0000 |
---|---|---|
committer | Karl Palsson <karlp@tweak.net.au> | 2018-08-29 13:52:40 +0000 |
commit | 1574ee1b01cd197a8817e3c31f8b20ef05c7984e (patch) | |
tree | 59f749d0de93f9db3a53176911c6ffb5f66c2072 /my-project/Makefile | |
download | stm32f103c8-examples-1574ee1b01cd197a8817e3c31f8b20ef05c7984e.tar stm32f103c8-examples-1574ee1b01cd197a8817e3c31f8b20ef05c7984e.tar.zst stm32f103c8-examples-1574ee1b01cd197a8817e3c31f8b20ef05c7984e.zip |
Initial clean template.
Diffstat (limited to 'my-project/Makefile')
-rw-r--r-- | my-project/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/my-project/Makefile b/my-project/Makefile new file mode 100644 index 0000000..2d009c3 --- /dev/null +++ b/my-project/Makefile @@ -0,0 +1,19 @@ +PROJECT = awesomesauce +BUILD_DIR = bin + +SHARED_DIR = ../my-common-code +CFILES = my-project.c +CFILES += api.c + +# TODO - you will need to edit these two lines! +DEVICE=stm32f407vgt6 +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 |