Re: feature request - order only deps

2013-02-02 Thread Sebastian Pipping
On 02.02.2013 18:38, Matěj Týč wrote: >> How about something like this? >> >> bar_deps = foo1 foo2 >> >> bar: $(bar_deps) >> >> $(bar_deps): >> $(MAKE) cache-foo >> touch $@ >> >> %: >> touch $@ > > I have also thought of that, but this can work well reliably only in the > c

Re: feature request - order only deps

2013-02-02 Thread Matěj Týč
On So, 2013-02-02 at 18:14 +0100, Sebastian Pipping wrote: > On 02.02.2013 16:19, Matěj Týč wrote: > > [...] > > How about something like this? > > bar_deps = foo1 foo2 > > bar: $(bar_deps) > > $(bar_deps): > $(MAKE) cache-foo > touch $@ > > %: > touch $@ > > Now cac

Re: feature request - order only deps

2013-02-02 Thread Sebastian Pipping
On 02.02.2013 16:19, Matěj Týč wrote: >> This is what I understand to be our current Makefile: >> >> bar_deps = foo1 foo2 >> >> bar: $(bar_deps) >> >> $(bar_deps): | cache-foo >> >> %: >> touch $@ > [..] > > Thank you for your quick help, your example indeed works, but it has one > we

Re: feature request - order only deps

2013-02-02 Thread Matěj Týč
On So, 2013-02-02 at 00:22 +0100, Sebastian Pipping wrote: > On 01.02.2013 16:18, Matěj Týč wrote: > > ... > > > > Consider a server process that can execute commands and that can load > > (huge) data into cache to spped the execution up. Loading the data is a > > make task and a target file cache