Was wondering, how can you put a for loop into a makefile so it works?
Something like:
sub: $(HEADERS)
for dir in $(SUBDIRS); do @echo $$dir done
Doesn’t seem to work for me although i’ve seen the syntax used elsewhere, all I get is an “unexpected end of file” error from bash.
Anyone got any clues? Have asked this elsewhere, but the so-called gurus don’t seem to have an answer.