Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!columbia!cunixc!cck From: cck@cunixc.columbia.edu (Charlie C. Kim) Newsgroups: comp.unix.wizards Subject: Re: Multiple machine binaries from a single set of sources Message-ID: <80@cunixc.columbia.edu> Date: Sun, 23-Aug-87 19:18:23 EDT Article-I.D.: cunixc.80 Posted: Sun Aug 23 19:18:23 1987 Date-Received: Mon, 24-Aug-87 00:39:19 EDT References: <8957@brl-adm.ARPA> Reply-To: cck@cunixc.columbia.edu (Charlie C. Kim) Organization: Columbia University Center for Computing Activities Lines: 20 In article <8957@brl-adm.ARPA> PEREIRA@csli.stanford.edu (Fernando Pereira) writes: >Much easier than all the solutions proposed so far is what I have >been doing successfully for quite a while on Suns. Just have one >directory hierarchy for sources (eg. ../src) and parallel hierarchies >(eg. ../sun-2, ../sun-3) for binaries. Create symbolic links in the >machine type hierarchies to all the source files in the source hierarchy,eg. ... The idea is good, but there's an easier way to manage it if you have the 4.3 or System V make - use the VPATH macro to specify an alternate path to get sources from. In the above case, for each bin dir (e.g. ../sun-2, etc.), have a makefile with following line: VPATH=../src You'll have to be careful about a few things, but in general, it's better than propogating all those symbolic links. Charlie C. Kim User Services Columbia University