lsmake
is a command-line utility written in Go that lists the targets in a Makefile. It provides a convenient way to view the available targets without having to manually inspect the Makefile.
- Retrieve a list of targets defined in a Makefile
- Simplify navigation and understanding of Makefile targets
- Streamline build process by quickly identifying available options
To build lsmake
from source, ensure you have Go installed and then run:
go get github.com/servel333/lsmake
To use lsmake, simply navigate to the directory containing your Makefile and run:
lsmake
This will display a list of targets defined in the Makefile.
lsmake --help
This will display the help message.
lsmake ~/workspace/my-project/Makefile
This will display the targets of ~/workspace/my-project/Makefile
Contributions are welcome! If you find a bug or have a suggestion, please open an issue or submit a pull request.
This project is licensed under the GNU Lesser General Public License v3.0 (LGPL-3.0).