Re: Noobilicious: Is there a g++ option to specify 'source directories'?

From: Matt Palmer (mjp16_at_hezmatt.org)
Date: 03/16/04


Date: 16 Mar 2004 22:40:15 +1050

florian schmidt is of the opinion:
> On Mon, 15 Mar 2004 22:28:39 -0500, WTH wrote:
>
>> I have some common unix code in a folder that I'd like to be able to refer
>> to without using a wildcar like ./unixsource/* because some is for Linux
>> and some is for Irix.

Methinks you may want to check out the VPATH variable for GNU make. Note
that prefix - it's a GNUism, so if you're building on Irix using the
standard tools, you'll need to use one of the other methods mentioned
upthread.

- Matt



Relevant Pages