in reply to RSH calling a shell script .profile issue

My suggestion is to ensure that your Makefile has all the right settings for paths, etc. in it. You should not need the user's .profile or whatever. The .profile generally sets a path, aliases, etc. You should do that in your Makefile explicitly. That way you are sure the environment is correct. You could even take this one step further and use GNU configure to help ensure the correct environment.

I would also include a target tar in the Makefile so you can say make tar when the compile is complete. Then you can rcp the tar file back.

HTH, --traveler