Xref: utzoo comp.unix.microport:3836 comp.unix.i386:1196 Path: utzoo!censor!geac!jtsv16!uunet!wuarchive!udel!princeton!njsmu!mccc!monymsys!david From: david@monymsys.uucp (David Kozinn) Newsgroups: comp.unix.microport,comp.unix.i386 Subject: Re: Default rules for make Message-ID: <1989Nov12.171816.13678@monymsys.uucp> Date: 12 Nov 89 17:18:16 GMT References: <1989Nov8.033800.5104@monymsys.uucp> Reply-To: david@monymsys.UUCP (David Kozinn) Followup-To: comp.unix.microport Organization: MONY Financial Services, Microcomputer Systems, Teaneck, NJ Lines: 20 Thanks for all the replies to this, both via mail and in news. The consensus seems to be that the simplest way to do this is to simply put the lines: CC=gcc export CC in my .profile to be executed at login, and all will work as desired. (It does!) A number of people pointed out that make -p will display the set of rules that apply, and that if you have the source to make (which I don't), then you can modify the default rules used in rules.c and recompile. Finally, for project- specific things, simply putting a CC=gcc line in the project makefile will work well. Thanks again for all the replies. -- David Kozinn | UUCP: {rutgers | uunet}!cbmvax!cgh!monymys!david MONY Financial Services | UUCP: ...!rutgers!princeton!mccc!monymsys!david Glenpointe Center West | Internet: cgh!monymsys!david@manta.pha.pa.us Mail Drop 75-14 | GEnie: D.KOZINN Teaneck, NJ 07666-6888 | Telephone: +1-201-907-6990