diff --git a/src/Makefile b/src/Makefile index 4f8a68205..82aeede64 100755 --- a/src/Makefile +++ b/src/Makefile @@ -53,6 +53,12 @@ else CFLAGS += -O2 -ggdb3 -DNDEBUG endif +# OpenMV1 is No longer supported +ifeq ($(TARGET), OPENMV1) +BRACKET = :) +$(error "OPENMV1 is no longer supported :O Have fun hacking the code $(BRACKET)") +endif + # Enable debug printf ifeq ($(DEBUG_PRINTF), 1) CFLAGS += -DDEBUG_PRINTF