Time

I have mounted a directory on one machine A to another directory on machine B.

I am compiling the files but due to the difference in time on both machines, the makefile skips some files.

Which is the best way to change the date on the machine. Any other recommendations ?

The best thing to do is keep all your systems in sync with each other. Check out Network Time Protocol (NTP). If you have a connection to the internet you can point to specific systems to insure your systems have the correct time set on them. You would have to load the software if it isn't included in your OS.

Check out www.ntp.org.