[prog] OpenGL/Mesa/Glut

Jimen Ching jching at flex.com
Fri Jun 20 09:15:15 EST 2003


On Fri, 20 Jun 2003, James Sutherland wrote:
>> What is the best way to set CFLAGS.
>On the command line, just put it before the make command, like so:
>$ CFLAGS="-I/usr/X11R6/Include -march=pentium3 -O2 -pipe" make all

This only works for some shells.  It won't work for tcsh, for instance.
You use the 'env' command on tcsh.  Do a 'man env', to find out how.

--jc
-- 
Jimen Ching (WH6BRR)      jching at flex.com     wh6brr at uhm.ampr.org


More information about the Programming mailing list