diff --git a/Application.mk b/Application.mk index 872fe11d978..269ceaa6b7a 100644 --- a/Application.mk +++ b/Application.mk @@ -95,9 +95,6 @@ endif ifneq ($(strip $(PROGNAME)),) PROGOBJ := $(MAINCOBJ) $(MAINCXXOBJ) $(MAINRUSTOBJ) - ifneq ($(words $(PROGOBJ)), $(words $(PROGNAME))) - $(error "program names $(PROGNAME) does not match mainsrcs $(PROGOBJ)") - endif PROGLIST := $(addprefix $(BINDIR)$(DELIM),$(PROGNAME)) REGLIST := $(addprefix $(BUILTIN_REGISTRY)$(DELIM),$(addsuffix .bdat,$(PROGNAME)))