-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
40 lines (36 loc) · 1.44 KB
/
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
36
37
38
39
40
Sdram_txt_debug:
@mkdir -p build
@cd build && cmake .. -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=sdram_txt_debug && make -j4
Sdram_txt_release:
@mkdir -p build
@cd build && cmake .. -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=sdram_txt_release && make -j4
Debug:
@mkdir -p build
@cd build && cmake .. -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=debug && make -j4
Release:
@mkdir -p build
@cd build && cmake .. -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=release && make -j4
Sdram_debug:
@mkdir -p build
@cd build && cmake .. -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=sdram_debug && make -j4
Sdram_release:
@mkdir -p build
@cd build && cmake .. -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=sdram_release && make -j4
Flexspi_nor_debug:
@mkdir -p build
@cd build && cmake .. -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=flexspi_nor_debug && make -j4
Flexspi_nor_release:
@mkdir -p build
@cd build && cmake .. -DCMAKE_TOOLCHAIN_FILE="armgcc.cmake" -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=flexspi_nor_release && make -j4
.PHONY: clean all
clean:
rm -rf build
all:
make Sdram_txt_debug
make Sdram_txt_release
make Debug
make Release
make Sdram_debug
make Sdram_release
make Flexspi_nor_debug
make Flexspi_nor_release