-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (28 loc) · 887 Bytes
/
Makefile
File metadata and controls
36 lines (28 loc) · 887 Bytes
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
.PHONY: clean deps log main motor test web
# this will set the correct linker script and use the correct bsp_*.c source
# for the given platform. see lib/stdlib for the possible values
PLATFORM := $(or $(strip $(PLATFORM)),teensy41)
SCRIPTS := ./scripts
main: clean deps
${SCRIPTS}/test.sh main_node
${SCRIPTS}/build.sh main_node ${PLATFORM}
${SCRIPTS}/upload.sh main_node
log: clean deps
${SCRIPTS}/test.sh log_node
${SCRIPTS}/build.sh log_node ${PLATFORM}
${SCRIPTS}/upload.sh log_node
motor: clean deps
${SCRIPTS}/test.sh motor_node
${SCRIPTS}/build.sh motor_node ${PLATFORM}
${SCRIPTS}/upload.sh motor_node
web: clean deps
${SCRIPTS}/test.sh web_node
${SCRIPTS}/build.sh web_node ${PLATFORM}
${SCRIPTS}/upload.sh web_node
deps:
${SCRIPTS}/mocks.sh
${SCRIPTS}/deps.sh ${PLATFORM}
${SCRIPTS}/deps-native.sh
${SCRIPTS}/test.sh stdlib
clean:
${SCRIPTS}/clean.sh