I wonder how to match exact occurrence of a given word in the given list of words using only standard makefile operations. In the below example for WORD_TO_MATCH = a the res
Use filter instead of findstring:
... ifneq ($(filter $(WORD_TO_MATCH),$(INPUT_LIST)),) $(warning List contains "$(WORD_TO_MATCH)") ...