help-make
[Top][All Lists]
Advanced

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

Re: No rule to make target


From: Paul Smith
Subject: Re: No rule to make target
Date: Thu, 29 Mar 2018 09:56:53 -0400

On Thu, 2018-03-29 at 14:09 +0200, Federico Bruni wrote:
> VPATH = \
>   $CURDIR/src

This is wrong.  This expands the make variable $C and appends the
string "URDIR/src".  Since C is not set (most likely) you'll get:

   VPATH = URDIR/src

which doesn't exist, so this is a no-op.

You meant:

    VPATH = $(CURDIR)/src



reply via email to

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