Default rules for make
David Kozinn
david at monymsys.uucp
Mon Nov 13 04:18:16 AEST 1989
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 at manta.pha.pa.us
Mail Drop 75-14 | GEnie: D.KOZINN
Teaneck, NJ 07666-6888 | Telephone: +1-201-907-6990
More information about the Comp.unix.i386
mailing list