To compile, copy the appropriate Makefile.[YOUROS] into Makefile and do make
make
Terrain generation and simulation work.