Setup c++
This commit is contained in:
parent
9aceaf0440
commit
4ae0f42e85
3
Makefile
3
Makefile
@ -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
BIN
bin/main.out
Executable file
Binary file not shown.
BIN
build/main.o
Normal file
BIN
build/main.o
Normal file
Binary file not shown.
0
include/sorts.h
Normal file
0
include/sorts.h
Normal file
7
src/main.cpp
Normal file
7
src/main.cpp
Normal file
@ -0,0 +1,7 @@
|
||||
#include <iostream>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
std::cout << "hello world\n";
|
||||
return 0;
|
||||
}
|
0
src/sorts.cpp
Normal file
0
src/sorts.cpp
Normal file
Loading…
Reference in New Issue
Block a user