I'm not sure given the following facts:
1. you want a real Makefile to achieve good parallelism
2. shell is very good at finding files, probably  better than JS; let's use the appropriate tools for a task

so unless you want to do the parallelism thing in JS, I don't really see the point.

But that's up to you in the end ;)