Setup c++

This commit is contained in:
2023-01-11 12:33:46 -06:00
parent 9aceaf0440
commit 4ae0f42e85
6 changed files with 9 additions and 1 deletions
+2 -1
View File
@@ -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
View File
Binary file not shown.
BIN
View File
Binary file not shown.
View File
+7
View File
@@ -0,0 +1,7 @@
#include <iostream>
int main(void)
{
std::cout << "hello world\n";
return 0;
}
View File