On 3/21/07, Keith Gable <[EMAIL PROTECTED]> wrote:
> On 3/21/07, Mike Caron <[EMAIL PROTECTED]> wrote:
> > I'm not entirely sure what, of mine, you were quoting, but as far as I
> > know, CFLAGS is already defined by the environment, if an environment
> > variable is present, of course.
>
> You mentioned that you don't know how to make a makefile for C++
> files. So I posted a makefile for a sample C++ program.

Ah. Well, I'm sure that I could muddle my way through if

A) I was compiling an actual program, as opposed to a static library, and,
B) I had the GNU C++ compiler. As it stands, I only have VC++, which
is already covered by the .vcproj file.

> Also, CFLAGS in a makefile isn't defined by the environment, it's
> usually defined by the makefile defaults (man makefile IIRC). Which,
> for me, is null. CC is also defined by default to be "c++", but for
> consistent results I would recommend overriding it to "g++" for the
> GNU C++ Compiler.

I see. Well, I'll let someone who knows what they're doing... uh, do it.

-- 
Mike Caron
Final Fantasy Q
http://finalfantasyq.com
_______________________________________________
ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to