Setup c++
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
main: compile link
|
||||
|
||||
compile:
|
||||
g++ -c -o build/main.o src/main.cpp
|
||||
|
||||
link:
|
||||
|
||||
g++ -o bin/main.out build/*.o
|
||||
|
||||
Executable
BIN
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
#include <iostream>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
std::cout << "hello world\n";
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user