Skip to content

Latest commit

 

History

History
64 lines (40 loc) · 1.72 KB

README.md

File metadata and controls

64 lines (40 loc) · 1.72 KB

Make My File

 

⚠️ This project is in beta testing.

Please report any bugs you find on Discord (@mrmilkshakes) or GitHub!

 

Make My File is a fully automated Makefile generator for C projects, optimized for 42 school.

Run the executable in your project directory and follow the prompts in the console GUI.

 

Features

  • Auto-detect source files, headers and bonus files, including in subdirectories.

  • Detect C project structure and Create project structure automatically if not present, including:

    • main.c, name_app.c, and name_app.h
    • Directories: include/ and src/
    • A corresponding Makefile
    • A .gitignore file for c project
  • Link against the libft library (42).

  • Include and auto-download MiniLibX library (42).

  • Create object directories and dependency files.

 

Disclaimer

While Make My File automates Makefile generation, knowing how to create one manually is essential, especially during 42 school pool sessions.

 

Installation

  1. Run the installer script and follow instructions: (Note: Script work on Linux and macOS.)
bash -c "$(curl -L https://github.com/MathysCogne/Make_My_File-42/releases/download/1.2.6/install_makemyfile.sh)"

 

  1. To create a Makefile, navigate to the root of your project and run:
makemyfile

Tip: If you don’t have a project structure yet (meaning there are no .c files in the directory), the app will offer to create one for you. It's a great way to save time if you want to get started quickly!

 

  1. Follow the on-screen instructions.

Screen

 

Contributing

Contributions are welcome! Feel free to submit a pull request or open an issue for suggestions.