-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
44 lines (31 loc) · 810 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
36
37
38
39
40
41
42
43
44
all: create_proj
create_proj: fft_accel
fft_accel:
@echo "Create build folder"
mkdir -p build
@echo $(PWD)
@echo "Copy files"
cp -f $(PWD)/tcl/run_fft_hls.tcl $(PWD)/build
@echo "go to build dir"
cd $(PWD)/build && vitis_hls -f run_fft_hls.tcl
create_proj: cfar_accel
cfar_accel:
@echo "Create build folder"
mkdir -p build
@echo $(PWD)
@echo "Copy files"
cp -f $(PWD)/tcl/run_cfar_hls.tcl $(PWD)/build
@echo "go to build dir"
cd $(PWD)/build && vitis_hls -f run_cfar_hls.tcl
create_proj: conv2d_accel
conv2d_accel:
@echo "Create build folder"
mkdir -p build
@echo $(PWD)
@echo "Copy files"
cp -f $(PWD)/tcl/run_conv2d_hls.tcl $(PWD)/build
@echo "go to build dir"
cd $(PWD)/build && vitis_hls -f run_conv2d_hls.tcl
clean:
rm -rf build/ sim_files/
.PHONY: all create_proj clean