summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: db833d21e526e63a4cb3d6523a0ef7aeb9158d54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SM=35
ARCH= -arch sm_${SM}

all: advection diff2d diff2d_old incrementArrays moveArrays

advection:
	nvcc $(ARCH) -o advection advection.cu

diff2d:
	nvcc $(ARCH) -o diff2d diff2d.cu

diff2d_old:
	nvcc $(ARCH) -o diff2d_old diff2d_old.cu

incrementArrays:
	nvcc $(ARCH) -o incrementArrays incrementArrays.cu

moveArrays:
	nvcc $(ARCH) -o moveArrays moveArrays.cu

clean:
	rm -rf advection diff2d diff2d_old incrementArrays moveArrays