In message <[EMAIL PROTECTED]>, [EMAIL PROTECTED] writes:
>On 18 Dec 2003 at 19:02, Dan Langille wrote:
>
>> My goal is provide a way to override values in a Makefile with values
>> from a local config file.
>
>I'm getting further.  What's the proper way to do an include?

The commands associated with a Make command are passed to the shell.

You need to do your conditional within the make environment, outside
of a rule

    .if exists foo
    .include foo
    .endif

    all:
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to