diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -1,12 +1,13 @@ | |||
| 1 | .PHONY: all copy_experiments clean | 1 | .PHONY: all copy_experiments clean |
| 2 | NVCC ?= nvcc | ||
| 2 | 3 | ||
| 3 | all: constant_cycles_kernel preemption_logger copy_experiments | 4 | all: constant_cycles_kernel preemption_logger copy_experiments |
| 4 | 5 | ||
| 5 | constant_cycles_kernel: constant_cycles_kernel.cu testbench.h | 6 | constant_cycles_kernel: constant_cycles_kernel.cu testbench.h |
| 6 | nvcc constant_cycles_kernel.cu -o constant_cycles_kernel | 7 | $(NVCC) constant_cycles_kernel.cu -o constant_cycles_kernel |
| 7 | 8 | ||
| 8 | preemption_logger: task_host_utilities.cu preemption_logger.cu testbench.h | 9 | preemption_logger: task_host_utilities.cu preemption_logger.cu testbench.h |
| 9 | nvcc preemption_logger.cu -o preemption_logger -g | 10 | $(NVCC) preemption_logger.cu -o preemption_logger -g |
| 10 | 11 | ||
| 11 | copy_experiments: | 12 | copy_experiments: |
| 12 | $(MAKE) -C $@ | 13 | $(MAKE) -C $@ |
