build RangeResult via DFS
awesome makefile