mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 13:27:29 -04:00
20 lines
317 B
Makefile
20 lines
317 B
Makefile
ROOT_DIR := $(realpath ../../..)
|
|
include $(ROOT_DIR)/config.mk
|
|
|
|
PROJECT := vecadd
|
|
|
|
SRC_DIR := $(VORTEX_HOME)/tests/opencl/$(PROJECT)
|
|
|
|
SRCS := $(SRC_DIR)/main.cc
|
|
|
|
common.h: $(SRC_DIR)/common.h
|
|
cp $< $@
|
|
|
|
kernel.cl: $(SRC_DIR)/kernel.cl
|
|
cp $< $@
|
|
|
|
KERNEL_SRCS := kernel.cl common.h
|
|
|
|
OPTS ?= -n64
|
|
|
|
include ../common.mk
|