diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..a31b7ec --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ + +all: test main + +main: + g++ main.cpp -o main + +test: + g++ test.cpp -o test + ./test diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..69af68d --- /dev/null +++ b/main.cpp @@ -0,0 +1,6 @@ +#include + +int main(){ + std::cout << "Hello World!" << std::endl; + return 0; +} diff --git a/test.cpp b/test.cpp new file mode 100644 index 0000000..0066b08 --- /dev/null +++ b/test.cpp @@ -0,0 +1,4 @@ + +int main(){ + return 0; +}