[Omake] Re: Restarting omake
Aleksey Nogin
nogin at metaprl.org
Mon Sep 18 16:05:43 PDT 2006
On 18.09.2006 15:35, David Kågedal wrote:
>> - The directory only needs to exist when you evaluate the
>> .SUBDIRS. The following should work, I believe:
>>
>> if $(not $(file-exists $m/OMakefile))
>> mkdir $m
>> touch $m/OMakefile
>> .SUBDIRS: $m
>
> But the problem is that I don't know which directories to create until
> checking the targets given om the command line. Unless, of course, I
> want to create all the directories. Which was what I was trying to
> avoid if possible.
>
Oh, I see what you mean. You could probably inline whatever code you use
to actually generate the OMakefiles in those subdirectories and achieve
the same effect, but this is probably not very nice way of doing it.
Indeed, I do not see any obvious way of doing it that would not require
implementing some sort of a restart functionality...
Aleksey
More information about the Omake
mailing list