summaryrefslogtreecommitdiffstats
path: root/googlemock
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2019-06-13 21:16:43 (GMT)
committerGennadiy Civil <misterg@google.com>2019-06-13 21:16:43 (GMT)
commitf7c178ecb33c92763fa41d4999db30aaf43a6b30 (patch)
tree0c9e2313ca6f2d3c90e5bd5de52240280b39e30a /googlemock
parent84a498decceb171d38bb5cf71d7e264431709238 (diff)
downloadgoogletest-f7c178ecb33c92763fa41d4999db30aaf43a6b30.zip
googletest-f7c178ecb33c92763fa41d4999db30aaf43a6b30.tar.gz
googletest-f7c178ecb33c92763fa41d4999db30aaf43a6b30.tar.bz2
Makefiles are no longer supported. Adding pseudo-break with their impending removal to make sure that people who are interested will notice
Diffstat (limited to 'googlemock')
-rw-r--r--googlemock/make/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/googlemock/make/Makefile b/googlemock/make/Makefile
index 386293a..fb1445a 100644
--- a/googlemock/make/Makefile
+++ b/googlemock/make/Makefile
@@ -59,7 +59,16 @@ GMOCK_HEADERS = $(GMOCK_DIR)/include/gmock/*.h \
# House-keeping build targets.
-all : $(GTEST_LIBS) $(TESTS)
+ifndef GOOGLETEST_UNSUPPORTED_MAKEFILE_BUILD_SYSTEM_WORKAROUND
+.PHONY all:
+ $(info "The Make buildsystem is no longer supported")
+ $(info "You can temporarily set GOOGLETEST_UNSUPPORTED_MAKEFILE_BUILD_SYSTEM_WORKAROUND=1")
+ $(info "i.e make GOOGLETEST_UNSUPPORTED_MAKEFILE_BUILD_SYSTEM_WORKAROUND=1 all")
+ $(info "But this is going away very soon. ")
+ $(exit 1)
+else
+all: $(GTEST_LIBS) $(TESTS)
+endif
clean :
rm -f $(GTEST_LIBS) $(TESTS) *.o