diff --git a/terasort/simple/Makefile b/terasort/simple/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..e763d0758ad05831fa4414394f966dc93bc36ab0 --- /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)