angelamcosta / makefile_generator

A command-line tool to generate Makefiles based on user input.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ› οΈ Makefile Generator

forthebadge

forthebadge

forthebadge

A command-line tool to generate Makefiles based on user input.

πŸ’» Installation

To install the Makefile Generator and make it accessible globally, follow these steps:

  1. Clone the repository:
git clone https://github.com/angelamcosta/makefile_generator.git
  1. Navigate to the project directory:
cd makefile_generator
  1. Build the project:
make
  1. Move the generated binary to your bin directory (e.g., /usr/local/bin):
sudo mv makegen /usr/local/bin

Note: You may need administrator (sudo) privileges to move the binary to the system bin directory.

By default, the generated Makefile includes the following rules: $(NAME), all, clean, fclean, and re. You can modify and customize these rules according to your project's specific requirements, just take a look at MakefileGenerator.h and check out the macros.

Certainly! Adding emojis to your headers can add a touch of visual appeal and make your README more engaging. Here's an updated version of the dependencies section with emojis added to the headers:

πŸ”— Dependencies

If you don't have g++, you can use the following command to install it:

sudo apt-get install g++

πŸš€ Usage

Once the Makefile Generator is installed, you can use it by executing the following command:

makegen

The tool will prompt you to provide the necessary information, such as the project name, programming language (C/C++), and file names. Follow the instructions and enter the required details.

After the input is provided, the tool will generate a Makefile based on your inputs in the current directory.

Make sure to modify the generated Makefile according to your project's specific requirements.

⏳ Upcoming Features

  • Support for additional programming languages
  • Error safeguarding to handle incorrect user inputs

πŸ—‘οΈ Uninstall

To uninstall makegen from you system, follow these steps:

  1. Navigate to the directory where you've moved the binary to (in the example abovce we used /usr/local/bin):
cd /usr/local/bin
  1. Remove the makegen binary using the following command:
rm makegen 

πŸ™Œ Contributing

This project was primarily created for personal use to make my life easier (and learn C++ while at it πŸ˜…), but contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request.

πŸ“„ License

This project is licensed under the MIT License.

About

A command-line tool to generate Makefiles based on user input.

License:MIT License


Languages

Language:C++ 86.4%Language:Makefile 13.6%