Re: [AD] Pass CC on the command line |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Henrik Stokseth wrote:
actually you'd have to edit the makefile. :-) quoting the make manual
section 6.5: If you'd like a variable to be set to a value only if
it's not already set, then you can use the shorthand operator `?='
instead of `='.
Sorry, I see "make CC=gcc" overrides CC in the makefile as well. this is
safer as well, as CC may be set in the environment to something
unfortunate without the user knowing about it. (Henrik slaps own
forehead :-)
--
One OS to rule them all,
one OS to find them,
one OS to bring them all
and in the darkness bind them.