From bc2cdb51f4b1c03e843deed7f33487498f639327 Mon Sep 17 00:00:00 2001 From: jedi Date: Sun, 13 Dec 2020 23:28:05 +0100 Subject: [PATCH] test --- Makefile | 9 +++++++++ main.cpp | 6 ++++++ test.cpp | 4 ++++ 3 files changed, 19 insertions(+) create mode 100644 Makefile create mode 100644 main.cpp create mode 100644 test.cpp 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; +}