forked from dimonomid/tneo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile-all-arch
30 lines (22 loc) · 866 Bytes
/
Makefile-all-arch
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
BIN_DIRS=bin _obj
.PHONY: all
all:
make TN_ARCH=cortex_m0 TN_COMPILER=arm-none-eabi-gcc
make TN_ARCH=cortex_m0plus TN_COMPILER=arm-none-eabi-gcc
make TN_ARCH=cortex_m1 TN_COMPILER=arm-none-eabi-gcc
make TN_ARCH=cortex_m3 TN_COMPILER=arm-none-eabi-gcc
make TN_ARCH=cortex_m4 TN_COMPILER=arm-none-eabi-gcc
make TN_ARCH=cortex_m4f TN_COMPILER=arm-none-eabi-gcc
make TN_ARCH=cortex_m0 TN_COMPILER=clang
make TN_ARCH=cortex_m3 TN_COMPILER=clang
make TN_ARCH=cortex_m4 TN_COMPILER=clang
make TN_ARCH=pic32mx TN_COMPILER=xc32
make TN_ARCH=pic24_dspic_eds TN_COMPILER=xc16
make TN_ARCH=pic24_dspic_noeds TN_COMPILER=xc16
# for some reason, clang complains about unknown targets.
#make TN_ARCH=cortex_m0plus TN_COMPILER=clang
#make TN_ARCH=cortex_m1 TN_COMPILER=clang
#make TN_ARCH=cortex_m4f TN_COMPILER=clang
.PHONY: clean
clean:
rm -rf $(BIN_DIRS)