diff --git a/src/Makefile b/src/Makefile index b1965a30e..771d9627b 100755 --- a/src/Makefile +++ b/src/Makefile @@ -57,9 +57,9 @@ CFLAGS += -O2 -ggdb3 -DNDEBUG endif # OpenMV1 is No longer supported -ifeq ($(TARGET), OPENMV1) +ifeq ($(TARGET), $(filter $(TARGET),OPENMV1 OPENMV2)) BRACKET = :) -$(error "OPENMV1 is no longer supported :O Have fun hacking the code $(BRACKET)") +$(error "This camera is no longer supported :O Have fun hacking the code $(BRACKET)") endif # Enable debug printf