summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonathan L Long <jonlong@cs.berkeley.edu>2015-04-24 19:52:33 -0700
committerJonathan L Long <jonlong@cs.berkeley.edu>2015-04-24 19:52:33 -0700
commitcaaf321a1dc6d51adb1ee0c80f76d4d172145884 (patch)
tree2b57c955418b434684e89b6e1e36a8ab8da6411e /Makefile
parent797587d73a8372db11b1f143a2868064f985fade (diff)
downloadcaffe-caaf321a1dc6d51adb1ee0c80f76d4d172145884.tar.gz
caffe-caaf321a1dc6d51adb1ee0c80f76d4d172145884.tar.bz2
caffe-caaf321a1dc6d51adb1ee0c80f76d4d172145884.zip
clarify Makefile.config check
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 55ca5f37..15d30dfc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,9 @@
PROJECT := caffe
CONFIG_FILE := Makefile.config
+# Explicitly check for the config file, otherwise make -k will proceed anyway.
ifeq ($(wildcard $(CONFIG_FILE)),)
-$(error $(CONFIG_FILE): file not found.)
+$(error $(CONFIG_FILE) not found. See $(CONFIG_FILE).example.)
endif
include $(CONFIG_FILE)