-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathMakefile
35 lines (27 loc) · 855 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Makefile for STM32F103C8
#
################################################################################
#####
##### PROJECT
#####
##### The name of the project used as the build target name
#####
##### - Explicitly configure project name;
##### - Create project name from name of parent directory;
PROJECT = 04_usart
#PROJECT = $(lastword $(subst /, ,$(shell cd ..;pwd)))
################################################################################
#####
##### Project target
#####
ARMCPU = cortex-m3
STM32MCU = STM32F103xB
################################################################################
#####
##### include master makefile
#####
## kludge to handle directory names with spaces
SPACECHAR =
SPACECHAR +=
BASEPATH = $(subst $(SPACECHAR),\ ,$(shell cd ..;pwd))
include $(BASEPATH)/master.mk