summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..db833d2
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,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
+