# Trying to convert a couple of makefile lines to alire actions

**URL:** <https://forum.ada-lang.io/t/trying-to-convert-a-couple-of-makefile-lines-to-alire-actions/1969>\
**Category:** General\
**Created:** [April 2, 2025, 8:17pm UTC](https://forum.ada-lang.io/t/trying-to-convert-a-couple-of-makefile-lines-to-alire-actions/1969 "2025-04-02T20:17:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jere](https://forum.ada-lang.io/user_avatar/forum.ada-lang.io/jere/32/87_2.png) [@jere](https://forum.ada-lang.io/u/jere)\
**Post date:** [April 2, 2025, 8:17pm UTC](https://forum.ada-lang.io/t/trying-to-convert-a-couple-of-makefile-lines-to-alire-actions/1969/1 "2025-04-02T20:17:50Z")

</div>

I was working on converting some of my more simple make files to alire actions but ran into two scenarios I don’t know how to approach correctly.

The first is I have some subcrates inside a crate and I want when I use `alr clean` on the top level crate that it also calls it for the sub crates. Is there a way to do that? I haven’t put any dependencies in the alire toml files yet, so that maybe related. I just physically placed one crate as a subdirectory of another and referenced them via gpr files.

The second is I have a makefile line that does something like  
`objdump --disassemble ./bin/main.elf > ./bin/main.asm`

I tried making that into a `post-build` action in the toml, but it appears the `>` operator is not liked when alire tries to execute the action. I tried separating all of the items into separate comma separated strings (per the examples) and I also tried using `"objdump","'--disassemble ./bin/main.elf > ./bin/main.asm'"` for kicks. Any suggestions on how to handle redirects in an alire action?
