Was wondering, how can you put a for loop etc. into a makefile so it works?
Something like:
Code:
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?