bug-make
[Top][All Lists]
Advanced

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

Re: Implicit Rule Search fails


From: trashmailer
Subject: Re: Implicit Rule Search fails
Date: Fri, 09 Jul 2010 12:16:56 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100625 Thunderbird/3.0.5

I just realized for simplicity and better understanding what I am trying
to achieve both makefiles could be merged into:
-------
dst ?= .

$(dst)/target1.out: $(dst)/test/Test.cc.o
    @echo linking

$(dst)/%.cc.d: ../../src/target1/%.cc
    @echo making dep

$(dst)/%.cc.o: ../../src/target1/%.cc
    @echo compiling

-include $(dst)/test/Test.cc.d
-----------

Call without parameter it fails, with dst=foo it succeds.




reply via email to

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