From e00da896aa5062f7136431c7051b0b5027159ad5 Mon Sep 17 00:00:00 2001
From: Benjamin Auder <benjamin.auder@somewhere>
Date: Mon, 17 Oct 2016 00:49:39 +0200
Subject: [PATCH] better .gitignore: empty build/ folder

---
 code/.gitignore | 3 +++
 code/README     | 6 ++++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/code/.gitignore b/code/.gitignore
index f8a6218..215234e 100644
--- a/code/.gitignore
+++ b/code/.gitignore
@@ -1,2 +1,5 @@
+#ignore building files and folders
+/build/
+
 #ignore "real" data (way too large)
 data/
diff --git a/code/README b/code/README
index fa76933..67ce9a7 100644
--- a/code/README
+++ b/code/README
@@ -1,10 +1,12 @@
 To compile source code :
 
-   cd build/stage1/src #and then stage2
+   mkdir -p build/stage1/src
+   cd build/stage1/src
    cmake ../../../stage1/src
    make
+   #repeat previous lines for stage 2
 
-Usage :
+Usage (stage 1) :
 
    mpirun -np nbProcess ppam.exe cluster ifilename nbSeriesInChunk nbClusters randomize p_for_dissims
 
-- 
2.44.0