Boost logo

Boost :

From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2007-05-21 03:27:09


"Dean Michael Berris" <dmberris_at_[hidden]> writes:

> On 5/18/07, Anthony Williams <anthony_w.geo_at_[hidden]> wrote:
>> "Dean Michael Berris" <dmberris_at_[hidden]> writes:
>>
>
> [snipped my biased example]
>
>>
>> That's overly verbose: most of these rules are built in to make.
>>
>> My simple makefile says:
>>
>> main: main.cpp some_other_file.cpp
>>
>
> Okay... I might be rusty with Make, but shouldn't that be:
>
> main: main.o some_other_file.o

No, specifying source files works just fine. On my system it produces one
command:

g++ -o main main.cpp some_other_file.cpp

Anthony

-- 
Anthony Williams
Just Software Solutions Ltd - http://www.justsoftwaresolutions.co.uk
Registered in England, Company Number 5478976.
Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk