-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
65 lines (56 loc) · 1.51 KB
/
Makefile
File metadata and controls
65 lines (56 loc) · 1.51 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#
# Defines the part type that this project uses.
#
PART=TM4C123GH6PM
#
# The base directory for TivaWare.
#
ROOT=${TIVAWARE}
#
# Include the common make definitions.
#
include ${ROOT}/makedefs
#
# Where to find source files that do not live in this directory.
#
VPATH=${TIVAWARE}/utils
VPATH+=drivers
#
# Where to find header files that do not live in the source directory.
#
IPATH=${TIVAWARE}
#
# The default rule, which causes the gpu_fan_control example to be built.
#
all: ${COMPILER}
all: ${COMPILER}/gpu_fan_control.axf
#
# The rule to clean out all the build products.
#
clean:
@rm -rf ${COMPILER} ${wildcard *~}
#
# The rule to create the target directory.
#
${COMPILER}:
@mkdir -p ${COMPILER}
#
# Rules for building the gpu_fan_control example.
#
${COMPILER}/gpu_fan_control.axf: ${COMPILER}/main.o
${COMPILER}/gpu_fan_control.axf: ${COMPILER}/uart.o
${COMPILER}/gpu_fan_control.axf: ${COMPILER}/timer.o
${COMPILER}/gpu_fan_control.axf: ${COMPILER}/startup_${COMPILER}.o
${COMPILER}/gpu_fan_control.axf: ${COMPILER}/uartstdio.o
${COMPILER}/gpu_fan_control.axf: ${COMPILER}/ustdlib.o
${COMPILER}/gpu_fan_control.axf: ${ROOT}/driverlib/${COMPILER}/libdriver.a
${COMPILER}/gpu_fan_control.axf: gpu_fan_control.ld
SCATTERgcc_gpu_fan_control=gpu_fan_control.ld
ENTRY_gpu_fan_control=ResetISR
CFLAGSgcc=-DTARGET_IS_TM4C123_RB1
#
# Include the automatically generated dependency files.
#
ifneq (${MAKECMDGOALS},clean)
-include ${wildcard ${COMPILER}/*.d} __dummy__
endif