diff options
author | Felix Abecassis <fabecassis@nvidia.com> | 2015-04-17 15:53:12 -0700 |
---|---|---|
committer | Felix Abecassis <fabecassis@nvidia.com> | 2015-04-17 16:10:33 -0700 |
commit | 797587d73a8372db11b1f143a2868064f985fade (patch) | |
tree | 0668ca30b26926c19a554c494fd765a2b2b1de28 | |
parent | c6414ea7cab5917c904729c87f786e0a5909475c (diff) | |
download | caffeonacl-797587d73a8372db11b1f143a2868064f985fade.tar.gz caffeonacl-797587d73a8372db11b1f143a2868064f985fade.tar.bz2 caffeonacl-797587d73a8372db11b1f143a2868064f985fade.zip |
Abort Makefile parsing if the configuration file cannot be found.
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,6 +1,9 @@ PROJECT := caffe CONFIG_FILE := Makefile.config +ifeq ($(wildcard $(CONFIG_FILE)),) +$(error $(CONFIG_FILE): file not found.) +endif include $(CONFIG_FILE) BUILD_DIR_LINK := $(BUILD_DIR) |