Xref: utzoo comp.lang.c:38068 comp.unix.misc:1270 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!bloom-picayune.mit.edu!news From: ibekhaus@athena.mit.edu (Ira B. Ekhaus) Newsgroups: comp.lang.c,comp.unix.misc Subject: Makefile question Message-ID: <1991Apr9.050652.10199@athena.mit.edu> Date: 9 Apr 91 05:06:52 GMT Sender: news@athena.mit.edu (News system) Distribution: usa Organization: Massachusetts Institute of Technology Lines: 11 hello, I currently have my directory mounted to two machines with different cpu's, ie DEC and Sun. What is the easiest way to set up my makefiles, to use the current CPU to decide whether an object file should be updated. It would be great if libraries could be set up for both types of cpu's, and only updated if the source code was newer, but a separate object file would be susceptible to updating whenever a make command on a different CPU type than the object file. thanks, ira ekhaus ibekhaus@athena.mit.edu