I'm seen a couple of recommendations on this, but no consensus. Currently to make sometarget recursive, I add the following above the target:

sometarget-%:
        $(MAKE) -C $* sometarget
sometarget: $(foreach dir, $(SUBDIRS), sometarget-$(dir))

Suggestions for improvement?

Thanks!

- Daniel



Reply via email to