[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
A question about Makefile
From: |
Jed Jia |
Subject: |
A question about Makefile |
Date: |
Wed, 8 Dec 2010 11:55:11 +0800 |
Take a look at the following Makefile:
> x: obj/./t
> touch x
>
> obj/t: a
> touch obj/t
but make outputs:
> make: *** No rule to make target `obj/./t', needed by `x'. Stop.
If I change "obj/./t" to "obj/t", everything works fine
But the following Makefile also works fine:
>
> x: ./t
> touch x
> t: a
> touch t
So, how does the make dependency resolver work when there is an
un-normalized path? Or is there a way to tell make to resolve obj/./t
correctly?
Thanks!
- A question about Makefile,
Jed Jia <=