diff options
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 19 |
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 |
