avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] files in outside directory


From: Joerg Wunsch
Subject: Re: [avr-chat] files in outside directory
Date: Mon, 21 Jun 2010 21:14:22 +0200 (MET DST)

"KL" <address@hidden> wrote:

> EXTRAINCDIRS = ../common_dir/

That doesn't work with standard make tools, you simply have to
explicit code out the rules then:

something.o: ${EXTRAINCDIRS}/something.c
        ${CC} ${CFLAGS} -c ${EXTRAINCDIRS}/something.c

I thin, in GNU make, VPATH might help you.  Please have a look at the
GNU make manual for this.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]