Erik Rull wrote:
I've a list of targets each in a different directory that was built
and now I want to clean them up. Each directory has a own "clean" make
target, so I wrote in the base directory makefile:
clean:
for MODULE in $(MODULE_LIST); do make -C $$MODULE clean; done
But this iterates only module by module and does not allow any
jobserver operation via "+ make".
Any ideas how to approach that?
clean1:
make -C mod1 clean
clean2:
make -C mod2 clean
clean3:
make -C mod2 clean
clean4:
make -C mod2 clean
clean5:
make -C mod2 clean
clean: clean1 clean2 clean3 clean4 clean5
/Per Jessen, Zürich