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.

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.

-- 
Keith Gable
Lead Programmer / Project Leader
The Ignition Project <http://www.ignition-project.com/>

[Ask me how you can get a free Gmail account - Now with Google Chat!]
_______________________________________________
ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to