Mail Archives: djgpp/1997/02/23/07:05:19
Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote:
: On 20 Feb 1997, George Foot wrote:
: > If you're only linking one file, you can just use:
: >
: > gxx -o foo.exe -Wall -O2 -c foo.cc -lalleg
: ^^^^^^^^^^ ^^
: Either -o foo.exe or -c, but not both! If you want to link, leave out
: -c, and it will work.
Oops...
: Hey, that's GNU Make we are using, remember? It doesn't need to be
: told all these trivia, it already knows about them. All you need is
: to tell it something it *doesn't* know. Observe:
Is this reliable, though? I would have thought the assumptions about
what make does or doesn't know would be more susceptible to breaking
on some users' systems. How universal is this stuff?
--
George Foot <gfoot AT mc31 DOT merton DOT ox DOT ac DOT uk>
Merton College, Oxford.
- Raw text -