[comp.unix.questions] nmake with multiple architectures

sdo@ursa.UUCP (06/05/87)

Has anyone had any experience with using nmake to make programs/libraries
from the same source on multiple architectures?  Specifically, what
I have is a Sun and a Convex each running NFS so that the source is
available as the same directory name on each machine.  I want to create
a makefile which will update multiple archives (in /usr/local/lib) on both
machines:  that is to say, I want to create on each machine two archives
using different compilation options (and these options -- as well as the
directory in which some compiler passes are located -- vary between the
machines).

I have a pretty ugly solution for this using regular make and rcp-ing files
instead of NFS, but it seems like nmake ought to buy me something here.
One requirement is that the .o files for each architecture be placed in
different directories as they are compiled; otherwise I always end up
loading files from the wrong architecture into the library.  Also, since
I want to be able to issue the nmake command from only one machine, there
is the question of what to do to test if the rsh to the remote machine
succeeds.

Any help/comments would be appreciated.
-- 
Scott Oaks
Bear Stearns
(212) 952-3164
{sun!sunrise, convex, cuctr}!ursa!sdo