summaryrefslogtreecommitdiff
path: root/Skin++/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Skin++/Makefile')
-rwxr-xr-xSkin++/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/Skin++/Makefile b/Skin++/Makefile
new file mode 100755
index 0000000..5ca3e2a
--- /dev/null
+++ b/Skin++/Makefile
@@ -0,0 +1,35 @@
+#---------------------------------------------------------------------------
+#
+# Makefile for executing the Skin++ non-regression test
+# Author : A. Hebert (2018-5-10)
+#
+#---------------------------------------------------------------------------
+#
+OS = $(shell uname -s | cut -d"_" -f1)
+ifneq (,$(filter $(OS),SunOS AIX))
+ MAKE = gmake
+endif
+ifeq ($(openmp),1)
+ nomp = 16
+else
+ nomp = 0
+endif
+ifeq ($(intel),1)
+ fcompilerSuite = intel
+else
+ ifeq ($(nvidia),1)
+ fcompilerSuite = nvidia
+ else
+ ifeq ($(llvm),1)
+ fcompilerSuite = llvm
+ else
+ fcompilerSuite = custom
+ endif
+ endif
+endif
+all :
+ $(MAKE) -C src
+clean :
+ $(MAKE) clean -C src
+tests :
+ ./rskin -c $(fcompilerSuite) -p $(nomp) -q