From 81b644383ada4897745ae03ae6a2448494bec673 Mon Sep 17 00:00:00 2001
From: Michal Pitonak <michal.pitonak@savba.sk>
Date: Fri, 3 May 2019 13:59:14 +0300
Subject: [PATCH] Upload New File

---
 terasort/simple/Makefile | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 terasort/simple/Makefile

diff --git a/terasort/simple/Makefile b/terasort/simple/Makefile
new file mode 100644
index 0000000..e763d07
--- /dev/null
+++ b/terasort/simple/Makefile
@@ -0,0 +1,22 @@
+#path to GASPI root installed with MPI support
+GASPI=/path/to/gpi
+
+#compiler
+CC = mpicc
+
+#flags
+CFLAGS = -m64 -I${GASPI}/include
+LDFLAGS = -L${GASPI}/lib64  
+LIBS = -lgomp -lpthread -lm -ldl -lGPI2 -libverbs
+
+####
+SOURCES = terasort_gaspi_double_file.c
+EXECUTABLE = terasort_gaspi_double_file
+
+all: $(EXECUTABLE)
+
+$(EXECUTABLE): $(SOURCES)
+	$(CC) $(CFLAGS) $(SOURCES) $(LDFLAGS) $(LIBS) -o $@
+
+clean:
+	rm -f $(EXECUTABLE)
-- 
GitLab