ifeq problem?

2018-10-01 Thread S Tao
Hi, I wrote a make target "test-test" as below. my intention is to assign 1/2 to v1/v2 respectively. However, when I run command "make test-test", I am getting "v1 == v2". Why? What workaround is available to achieve what I want to do here? Thank you very much for your helps. test-test: $(

Re: ifeq problem?

2018-10-01 Thread Philip Guenther
On Mon, Oct 1, 2018 at 8:17 PM S Tao wrote: > Hi, I wrote a make target "test-test" as below. my intention is to assign > 1/2 to v1/v2 respectively. However, when I run command "make test-test", I am getting "v1 == v2". Why? You should read GNU make info pages, section 3.7 "How `make' Reads a