avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] make depend


From: Theodore A. Roth
Subject: Re: [avrdude-dev] make depend
Date: Tue, 11 Feb 2003 15:24:31 -0800 (PST)


On Tue, 11 Feb 2003, Brian Dean wrote:

:) On Tue, Feb 11, 2003 at 02:41:29PM -0800, Theodore A. Roth wrote:
:)
:) > Can someone try 'sinclude .depend'?
:)
:) Doesn't work on FreeBSD.  Does GNU make support conditionals?  With
:) FreeBSD make, you might do this as:
:)
:)         .if exists(.depend)
:)         include ".depend"
:)         .endif
:)
:) Could there be a similar syntax available with GNU make?

Crap.

Yes, gnumake does support conditionals, but of course, the syntax is
not compatible.

        if ($(wildcard .depend),.depend)
        include .depend
        endif

Fun, no?

Ted





reply via email to

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