Skip to content
Permalink
b336644568
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

My Makefile usage

I have a Makefile, it's usage is quite simple. I made it because it's easier for me to compile without having to type out the entire god damn command. Even though that's fun for me. Don't @ me, I know it's weird; like my love for OOP.

Usage

It has 3 commands for automation and can be added to have more if needed. For my needs, 3 is enough.

Build

make build "filename.cpp" # makes file - dependent on platform may be exe or not

The filename has to be the "" or it will not count it as an argument.

Build and run... and clear

make runb "filename.cpp"

This makes and runs the file assuming it's called file.exe, if not, manually change it in the Makefile.

Clean

make clean # removes *.exe

This removes all .exe files for Windows.

Made by Taran Nagra