From 3c731e9b9c758ca24e12e581c9683235365b0222 Mon Sep 17 00:00:00 2001 From: Mark B Date: Tue, 13 Jul 2021 10:48:29 -0400 Subject: [PATCH] add a build guide --- .gitignore | 1 - Makefile | 4 ++-- README.md | 13 ++++++++++++- TO-DO.md | 3 +-- main.cpp => src/main.cpp | 0 5 files changed, 15 insertions(+), 6 deletions(-) rename main.cpp => src/main.cpp (100%) diff --git a/.gitignore b/.gitignore index 6bd6746..e69de29 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +0,0 @@ -log.txt diff --git a/Makefile b/Makefile index 9cf18e3..f5bfa7f 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,2 @@ -soup: main.cpp - g++ main.cpp -o soup +soup: src/main.cpp + g++ src/main.cpp -o soup diff --git a/README.md b/README.md index ebcfaae..40a4584 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,13 @@ -this is just some hello world type C++ code with comments +This is just some hello world type C++ code with comments read below for build instructions + + +*--------Building--------* +Before you can compile the code you will need GNU make and GNU g++. + +This is what you should type in the command line + +1. git clone https://gitdab.com/Canneddonuts/CPP_git_test +2. cd CPP_git_test +3. make + diff --git a/TO-DO.md b/TO-DO.md index e5b6e0c..56169ca 100644 --- a/TO-DO.md +++ b/TO-DO.md @@ -1,2 +1 @@ -1. add a makefile or a way to generate one -2. add a Build guide +Learn stuffies diff --git a/main.cpp b/src/main.cpp similarity index 100% rename from main.cpp rename to src/main.cpp