summaryrefslogtreecommitdiffstats
path: root/copy_experiments/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'copy_experiments/Makefile')
-rw-r--r--copy_experiments/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/copy_experiments/Makefile b/copy_experiments/Makefile
index ede22dc..5adda53 100644
--- a/copy_experiments/Makefile
+++ b/copy_experiments/Makefile
@@ -1,5 +1,6 @@
1.PHONY: all clean 1.PHONY: all clean
2NVCC ?= nvcc 2NVCC ?= nvcc
3CC ?= gcc
3 4
4all: copy_contender mon_cross_ctx_copies 5all: copy_contender mon_cross_ctx_copies
5 6
@@ -9,5 +10,8 @@ copy_contender: copy_contender.cu copy_testbench.h ../testbench.h
9mon_cross_ctx_copies: mon_cross_ctx_copies.cu copy_testbench.h ../testbench.h 10mon_cross_ctx_copies: mon_cross_ctx_copies.cu copy_testbench.h ../testbench.h
10 $(NVCC) mon_cross_ctx_copies.cu -o $@ -lcuda -lpthread -g 11 $(NVCC) mon_cross_ctx_copies.cu -o $@ -lcuda -lpthread -g
11 12
13gl_copies: gl_copies.c
14 $(CC) gl_copies.c -o $@ -lGL -lglut -g
15
12clean: 16clean:
13 rm -f copy_contender mon_cross_ctx_copies 17 rm -f copy_contender mon_cross_ctx_copies gl_copies