Skip to content

My Makefile Generator for 42 Projects - An automated tool that detects C project structures, creates necessary files, and provides easy Makefile generation

License

Notifications You must be signed in to change notification settings

MathysCogne/Make_My_File-42

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

 

About

My Makefile Generator for 42 Projects - An automated tool that detects C project structures, creates necessary files, and provides easy Makefile generation

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published