Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
27 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# My Makefile usage | ||
|
||
I have a [Makefile](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 | ||
```bash | ||
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 | ||
```bash | ||
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 | ||
```bash | ||
make clean # removes *.exe | ||
``` | ||
This removes all .exe files for Windows. | ||
|
||
#### Made by [Taran Nagra](https://github.coventry.ac.uk/nagrat) |