Setup c++

This commit is contained in:
TriantaTV 2023-01-11 12:33:46 -06:00
parent 9aceaf0440
commit 4ae0f42e85
6 changed files with 9 additions and 1 deletions

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

BIN
bin/main.out Executable file

Binary file not shown.

BIN
build/main.o Normal file

Binary file not shown.

0
include/sorts.h Normal file
View File

7
src/main.cpp Normal file
View File

@ -0,0 +1,7 @@
#include <iostream>
int main(void)
{
std::cout << "hello world\n";
return 0;
}

0
src/sorts.cpp Normal file
View File