Steve Hay <[EMAIL PROTECTED]> writes:
>
>The following alternative (a style used elsewhere) should therefore be fine:
>
>$(UNIDATAFILES) : $(MINIPERL) $(CONFIGPM) ..\lib\unicore\mktables
>    cd ..\lib\unicore && ..\$(MINIPERL) -I.. mktables
>
>This is also fine with nmake, but causes dmake to run mktables 7 times!
>
>
>Running mktables 7 times is better than not running it at all, but there 
>must be a way to fix it for dmake.  Anyone know how?
>
'tis a pain but dmake is not unique in this (it is copying old Unix makes).

The way to do it is nominate one of UNIDATAFILES (ideally the last one 
written) as _the_ dependancy. (I don't see a definition of UNIDATAFILES 
in your patch)

Or invent a pseudo target thus:

$(UNIDATAFILES) : unidataready
# Nothing here - the nothing happens 7 times ...

unidataready : $(MINIPERL) $(CONFIGPM) ..\lib\unicore\mktables
    cd ..\lib\unicore && ..\$(MINIPERL) -I.. mktables

Reply via email to