title: How to check if a file from a list contains something , in makefile?
body: <p>I want to check if all the files that have a specific name have in them a string , if not to report them . I wrote this sequence and tried multiple some others, but I don't know how to access the contain of a file from list.</p>
  
  <pre><code>SOURCES := $(shell find $(SOURCEDIR) -name 'mod.mak')#here I take the list of targeted files (this works fine)
  $(foreach File, Files,
  $(if $(grep -q "aaabbb" "$File"),,@echo "WARNING Missing sequence")
  )
  </code></pre>