trivial makefile grooming
authorEvan Shelhamer <shelhamer@imaginarynumber.net>
Tue, 8 Apr 2014 22:25:04 +0000 (15:25 -0700)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Tue, 8 Apr 2014 22:25:04 +0000 (15:25 -0700)
Makefile
Makefile.config.example

index 83117e3..71b19b0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -338,19 +338,19 @@ supercleanfiles:
 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)
index 09aea6f..58881ec 100644 (file)
@@ -6,9 +6,9 @@ CUDA_DIR := /usr/local/cuda
 
 # 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
@@ -46,8 +46,8 @@ LIBRARY_DIRS := $(PYTHON_LIB) /usr/lib /usr/local/lib
 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