Skip to content

Commit

Permalink
remove the check that progname matches mainsrc
Browse files Browse the repository at this point in the history
Signed-off-by: xuxin19 <[email protected]>
  • Loading branch information
xuxin930 authored and xiaoxiang781216 committed Oct 9, 2023
1 parent 77a5666 commit a3bbea8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Application.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)))

Expand Down

0 comments on commit a3bbea8

Please sign in to comment.