help-make
[Top][All Lists]
Advanced

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

Makefile and VPATH


From: Odne Helleb�
Subject: Makefile and VPATH
Date: Mon, 26 Jan 2015 04:15:55 +0100

I've narrowed my problem down to this makefile:

VPATH = folder
> all : test
>
> test : foo
> echo $<
>
> foo :
> touch folder/foo
>
(with formatting here http://sprunge.us/ifWI )
doing make twice will echo foo and then folder/foo, but I was hoping that
it would be possible to get make to expand rule 3 first so that rule 2
always give folder/foo


Med vennlig hilsen


Odne Hellebø


reply via email to

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