-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
52 lines (37 loc) · 1.65 KB
/
Copy pathmakefile
File metadata and controls
52 lines (37 loc) · 1.65 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
# include the mailbox driver interface. This will
# open the vcio driver.
MBOX_C = /opt/vc/src/hello_pi/hello_fft/mailbox.c
MBOX_INC = -I/opt/vc/src/hello_pi/hello_fft/
F = -lrt -lm -ldl
MainShort: MainShort.o PixelBuffer_linux.o CString_linux.o Geometry_linux.o
g++ -o MainShort MainShort.o PixelBuffer_linux.o CString_linux.o Geometry_linux.o mailbox.o $(F)
MaxDialateThread.c: MaxDialateThread.asm
./vc4asm -V -C MaxDialateThread.c MaxDialateThread.asm
MaxDialateMain.c: MaxDialateMain.asm
./vc4asm -V -C MaxDialateMain.c MaxDialateMain.asm
SubFloorGpuThread.c: SubFloorGpuThread.asm
./vc4asm -V -C SubFloorGpuThread.c SubFloorGpuThread.asm
SubFloorGpuMain.c: SubFloorGpuMain.asm
./vc4asm -V -C SubFloorGpuMain.c SubFloorGpuMain.asm
NewDepthGpuThread.c: NewDepthGpuThread.asm
./vc4asm -V -C NewDepthGpuThread.c NewDepthGpuThread.asm
NewDepthGpuMain.c: NewDepthGpuMain.asm
./vc4asm -V -C NewDepthGpuMain.c NewDepthGpuMain.asm
MainShort.o: MainShort.cpp PixelBuffer_linux.h
g++ -O3 -mfpu=neon -c MainShort.cpp $(MBOX_C) $(MBOX_INC)
PixelBuffer_linux.o: PixelBuffer_linux.cpp MaxDialateMain.c MaxDialateThread.c SubFloorGpuMain.c SubFloorGpuThread.c NewDepthGpuMain.c NewDepthGpuThread.c PixelBuffer_linux.h
g++ -c PixelBuffer_linux.cpp $(MBOX_C) $(MBOX_INC)
CString_linux.o: CString_linux.cpp CString_linux.h
g++ -c CString_linux.cpp $(MBOX_C) $(MBOX_INC)
Geometry_linux.o: Geometry_linux.cpp Geometry_linux.h
g++ -O3 -c Geometry_linux.cpp $(MBOX_C) $(MBOX_INC)
.PHONY: clean
clean:
rm -f *.o
rm -f MaxDialateMain.c
rm -f MaxDialateThread.c
rm -f SubFloorGpuMain.c
rm -f SubFloorGpuThread.c
rm -f NewDepthGpuMain.c
rm -f NewDepthGpuThread.c
rm MainShort