compiling new grass commands

We are currently working with Grass4.1. We need to use s.menu, but we
need to change the code slightly. We copied s.menu (source folder) to
s.temp, and changed the code. How do we compile the new function,
s.temp, and link it to Grass4.1.

Thank you for any help

Marilyn Hughes
Jay Wright

Rutgers, Dept. of Geography

jjwright@gandalf.rutgers.edu

mghughes@gandalf.rutgers.edu