summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hoffmann <volker@cheleb.net>2014-06-23 22:30:37 +0200
committerVolker Hoffmann <volker@cheleb.net>2014-06-23 22:30:37 +0200
commit0e5d47fb2c49ef79712d06f6b026ddcd7f5ca75d (patch)
tree9fffb91268461932acf0f254f1910908352f4d25
parent849e595eea6fcf43ebf08d9cc92f1a06f66e7983 (diff)
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
+