Makefiles are no longer supported. Adding pseudo-break with their impending removal to make sure that people who are interested will notice
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 @@
# 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
diff --git a/googletest/make/Makefile b/googletest/make/Makefile
index b62da67..3f2ffce 100644
--- a/googletest/make/Makefile
+++ b/googletest/make/Makefile
@@ -44,7 +44,16 @@
# 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