supercleanlist: supercleanfiles
@ \
if [ -z "$(SUPERCLEAN_FILES)" ]; then \
- echo "No generated files found."; \
+ echo "No generated files found."; \
else \
- echo $(SUPERCLEAN_FILES) | tr ' ' '\n'; \
+ echo $(SUPERCLEAN_FILES) | tr ' ' '\n'; \
fi
superclean: clean supercleanfiles
@ \
if [ -z "$(SUPERCLEAN_FILES)" ]; then \
- echo "No generated files found."; \
+ echo "No generated files found."; \
else \
- echo "Deleting the following generated files:"; \
- echo $(SUPERCLEAN_FILES) | tr ' ' '\n'; \
- $(RM) $(SUPERCLEAN_FILES); \
+ echo "Deleting the following generated files:"; \
+ echo $(SUPERCLEAN_FILES) | tr ' ' '\n'; \
+ $(RM) $(SUPERCLEAN_FILES); \
fi
$(DIST_ALIASES): $(DISTRIBUTE_DIR)
# CUDA architecture setting: going with all of them.
CUDA_ARCH := -gencode arch=compute_20,code=sm_20 \
- -gencode arch=compute_20,code=sm_21 \
- -gencode arch=compute_30,code=sm_30 \
- -gencode arch=compute_35,code=sm_35
+ -gencode arch=compute_20,code=sm_21 \
+ -gencode arch=compute_30,code=sm_30 \
+ -gencode arch=compute_35,code=sm_35
# MKL switch: set to 1 for MKL
USE_MKL := 0
BUILD_DIR := build
DISTRIBUTE_DIR := distribute
-# uncomment for debugging
-#DEBUG := 1
+# Uncomment for debugging.
+# DEBUG := 1
# The ID of the GPU that 'make runtest' will use to run unit tests.
TEST_GPUID := 0