Path: utzoo!censor!geac!jtsv16!uunet!samsung!shadooby!mailrus!cwjcc!hal!ncoast!allbery From: allbery@NCoast.ORG (Brandon S. Allbery) Newsgroups: comp.unix.microport Subject: Re: Default rules for make Message-ID: <1989Nov11.022337.8359@NCoast.ORG> Date: 11 Nov 89 02:23:37 GMT References: <1989Nov8.033800.5104@monymsys.uucp> Reply-To: allbery@ncoast.ORG (Brandon S. Allbery) Followup-To: comp.unix.microport Organization: North Coast Public Access UN*X, Cleveland, OH Lines: 21 As quoted from <1989Nov8.033800.5104@monymsys.uucp> by david@monymsys.uucp (David Kozinn): +--------------- | Here's the problem: I'm running Microport Sys V/386 and using the Green Hills | C compiler. I would prefer that instead of the default value of "cc" being | used for the $CC macro that gcc be used instead. For the time being, when I | make something I've done something like "make CC=gcc foobar", which works just | fine, but is a minor annoyance. I've looked around for a makefile in some +--------------- Make's rules are built in. However, you can always resort to: csh: setenv CC gcc sh: CC=gcc; export CC ++Brandon -- Brandon S. Allbery allbery@NCoast.ORG, BALLBERY (MCI Mail), ALLBERY (Delphi) uunet!hal.cwru.edu!ncoast!allbery ncoast!allbery@hal.cwru.edu bsa@telotech.uucp *(comp.sources.misc mail to comp-sources-misc[-request]@backbone.site, please)* *Third party vote-collection service: send mail to allbery@uunet.uu.net (ONLY)* expnet.all: Experiments in *net management and organization. Mail me for info.