Skip to content
Browse files
More awesome change
  • Loading branch information
nagrat committed Mar 13, 2023
1 parent b336644 commit ca035b2bcc31c0b2758fcaaf2edd773007d2d5ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
@@ -1,10 +1,10 @@
g++ -o file $(file)
g++ $(file) -o $(execute)

g++ -o file $(file)
g++ $(file) -o $(execute)

rm *.exe
@@ -7,15 +7,15 @@ It has 3 commands for automation and can be added to have more if needed. For my

### Build
make build "filename.cpp" # makes file - dependent on platform may be exe or not
make build file="filename.cpp" execute="executeable_name"
The filename has to be the "" or it will not count it as an argument.
The filename and executeable name has to be the "" or it will not count it as an argument!

### Build and run... and clear
make runb "filename.cpp"
make runb file="filename.cpp" execute="executeable_name" # .exe if needed
This makes and runs the file assuming it's called file.exe, if not, manually change it in the Makefile.
This makes and runs the file and compiles into what is in the execute flag.

### Clean

0 comments on commit ca035b2

Please sign in to comment.