mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
32 lines
819 B
Makefile
32 lines
819 B
Makefile
|
|
PRODUCTS = \
|
|
clCopyImage/ \
|
|
clFillImage/ \
|
|
clGetInfo/ \
|
|
clReadWriteImage/ \
|
|
kernel_image_methods/ \
|
|
kernel_read_write/ \
|
|
samplerlessReads/
|
|
|
|
TOP=$(shell pwd)
|
|
|
|
all: $(PRODUCTS)
|
|
|
|
clean:
|
|
@for testdir in $(dir $(PRODUCTS)) ; \
|
|
do ( \
|
|
echo "==================================================================================" ; \
|
|
echo "Cleaning $$testdir" ; \
|
|
echo "==================================================================================" ; \
|
|
cd $$testdir && make clean \
|
|
); \
|
|
done \
|
|
|
|
$(PRODUCTS):
|
|
@echo "==================================================================================" ;
|
|
@echo "(`date "+%H:%M:%S"`) Make $@" ;
|
|
@echo "==================================================================================" ;
|
|
cd $(dir $@) && make -i
|
|
|
|
.PHONY: clean $(PRODUCTS) all
|