summaryrefslogtreecommitdiff
path: root/src/Makefile
blob: a32c435c5aa1d1772c8d4c34d30e888ecfcdc001 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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