diff --git a/Makefile.include b/Makefile.include index d7280c171b55e8640fa7c28b05bcee518944f0fc..0df943cf20602732313e1feeea663917fe1b0249 100644 --- a/Makefile.include +++ b/Makefile.include @@ -104,6 +104,9 @@ else ${error More than one TARGET Makefile found: $(target_makefile)} endif include $(target_makefile) + ifeq (, $(shell which $(CC))) + $(error Target "$(TARGET)" compiler "$(CC)" cannot be found) + endif endif # Decide whether to build or to skip this target for this platform