From 0d9d17554280bf9d19ce2db84bd29b5c5743d454 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Sun, 21 Apr 2019 17:07:07 -0600 Subject: Initial commit --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ec76229 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +SYCL=/home/ztuowen/sycl/install +CXX=$(SYCL)/bin/clang++ +LIBDIR=$(SYCL)/lib + +all:sycltest + +sycltest:main.cpp + $(CXX) -O3 -std=c++14 -lstdc++ -fopenmp -fsycl -o $@ $^ -lsycl -lOpenCL -Wl,--rpath=$(LIBDIR) + +clean: + -rm sycltest + +.PHONY:all clean -- cgit v1.2.3-70-g09d2