diff options
Diffstat (limited to 'copy_experiments/Makefile')
| -rw-r--r-- | copy_experiments/Makefile | 6 |
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 |
| 2 | NVCC ?= nvcc | 2 | NVCC ?= nvcc |
| 3 | CC ?= gcc | ||
| 3 | 4 | ||
| 4 | all: copy_contender mon_cross_ctx_copies | 5 | all: copy_contender mon_cross_ctx_copies |
| 5 | 6 | ||
| @@ -9,5 +10,8 @@ copy_contender: copy_contender.cu copy_testbench.h ../testbench.h | |||
| 9 | mon_cross_ctx_copies: mon_cross_ctx_copies.cu copy_testbench.h ../testbench.h | 10 | mon_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 | ||
| 13 | gl_copies: gl_copies.c | ||
| 14 | $(CC) gl_copies.c -o $@ -lGL -lglut -g | ||
| 15 | |||
| 12 | clean: | 16 | clean: |
| 13 | rm -f copy_contender mon_cross_ctx_copies | 17 | rm -f copy_contender mon_cross_ctx_copies gl_copies |
