Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140206233121.GD1685@port70.net>
Date: Fri, 7 Feb 2014 00:31:22 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: Out-of-tree builds

* Szabolcs Nagy <nsz@...t70.net> [2014-02-07 00:27:06 +0100]:
> ok i see the problem, this dependency cannot be expressed
> for all foo and bar easily:
> 
>   src/foo/bar.o: $(SOMEDIR)/src/foo/$(ARCH)/bar.s
> 
> without $(SOMEDIR)
> 
>   %.o: $(ARCH)/%.s
> 
> works

VPATH=$(SOMEDIR)
%.o: $(ARCH)/%.s

seems to work but i have no clue why :)
(i don't think this follows from the make manual)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.