diff --git a/Makefile/bin.cpp b/Makefile/bin.cpp new file mode 100644 index 0000000..f05953f --- /dev/null +++ b/Makefile/bin.cpp @@ -0,0 +1,8 @@ +#include +#include "lib.h" + +int main(int argc, const char *argv[]) +{ + std::cout << "C++ Hello World!" << std::endl; + return 0; +} diff --git a/Makefile/lib.c b/Makefile/lib.c new file mode 100644 index 0000000..802d37e --- /dev/null +++ b/Makefile/lib.c @@ -0,0 +1,3 @@ +#include "lib.h" + +void lib() { return; } diff --git a/Makefile/lib.h b/Makefile/lib.h new file mode 100644 index 0000000..68873df --- /dev/null +++ b/Makefile/lib.h @@ -0,0 +1,3 @@ +#pragma once + +void lib(); diff --git a/Makefile/main.c b/Makefile/main.c new file mode 100644 index 0000000..9ff730b --- /dev/null +++ b/Makefile/main.c @@ -0,0 +1,8 @@ +#include +#include "lib.h" + +int main(int argc, const char *argv[]) +{ + printf("Hello world\n"); + return 0; +}