From 2b8b9dd267e7367a553469e0ee17b7a8548acede Mon Sep 17 00:00:00 2001 From: Richard Holland Date: Tue, 24 Sep 2019 15:01:44 +1000 Subject: [PATCH] inital commit --- .gitignore | 5 +++++ README.md | 2 ++ makefile | 4 ++++ src/main.cpp | 14 ++++++++++++++ 4 files changed, 25 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 makefile create mode 100644 src/main.cpp diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..3a9a7088 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*~ +*.swp +*.swo +.*.sw? +.DS_Store diff --git a/README.md b/README.md new file mode 100644 index 00000000..e5cbc9d2 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# Hot Pocket Consensus Engine + diff --git a/makefile b/makefile new file mode 100644 index 00000000..fca8cebc --- /dev/null +++ b/makefile @@ -0,0 +1,4 @@ +all: + mkdir -p build + g++ src/*.cpp -std=c++17 -o build/hpcore + echo 'build successful, binary in '`pwd`'/build/hpcore' diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 00000000..26ab161d --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,14 @@ +/** + Entry point for HP Core +**/ + +#include +#include + +using namespace std; + +int main(int argc, char** argv) { + + cout << "exited normally\n"; + return 0; +}