The issue is that the script I'm calling edits the .hex file in place.  So 
if I go a->b.tmp, b.tmp -> b.tmp is my only option.

: ../bld/_bin/$(PROJECT_NAME).map ../bld/_bin/$(PROJECT_NAME).hex |> $(
API_DIR)/Tools/crc32.exe %f FFFFFFFF 0 |>

The above line would also create the correct call, but it throws this error:

tup error: Unspecified output files - A command is writing to files that 
you didn't specify in the Tupfile. You should add them so tup knows what to 
expect.

On Thursday, March 8, 2018 at 9:46:53 AM UTC-5, Ben Boeckel wrote:
>
> On Thu, Mar 08, 2018 at 06:21:21 -0800, Paul Guenette wrote: 
> > What's the best way to handle this? 
>
> Write to an intermediate file? Instead of: 
>
>     a -> b, b -> c 
>
> do: 
>
>     a -> b.tmp, b.tmp -> c 
>
> Is there a reason that isn't possible? 
>
> --Ben 
>

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to