Reorganize the repository structure to deal with more than one TP.
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 27 Feb 2017 13:13:06 +0000 (14:13 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 27 Feb 2017 13:16:46 +0000 (14:16 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
README
TP_7.5/exo1/Makefile [moved from exo1/Makefile with 100% similarity]
TP_7.5/exo1/exo1.c [moved from exo1/exo1.c with 100% similarity]
TP_7.5/exo2/Makefile [moved from exo2/Makefile with 100% similarity]
TP_7.5/exo2/exo2.c [moved from exo2/exo2.c with 100% similarity]
TP_7.5/exo3/Makefile [moved from exo3/Makefile with 100% similarity]
TP_7.5/exo3/exo3.c [moved from exo3/exo3.c with 100% similarity]

diff --git a/README b/README
index 6b302620204184540faec44a5e431f9a60d6d5c1..76ed21a563061d495d42b444b6050095a42f6e2c 100644 (file)
--- a/README
+++ b/README
@@ -4,30 +4,25 @@ Introduction:
 The whole purpose of the current C code is to solve the 
 Polytech'Marseille C tutorial exercices.
 
-The repository organisation is pretty straightforward:
--> exo? where ? is a digit is the repository where lies the 
-solution to exercice one, and so on.
+The repositories organisation is pretty straightforward: 
+TP_#/exo?, where # is a digit representing the TP number and
+? is a digit representing the exercice number, is the repository
+where lies the solution to exercice ? TP #.
 
 Building the solutions:
 -----------------------
 
-  cd exo1 && make
-  cd exo2 && make
-  cd exo3 && make
+  cd TP_#/exo? && make
 
 Cleaning the solutions:
 -----------------------
 
-  cd exo1 && make clean
-  cd exo2 && make clean
-  cd exo3 && make clean
+  cd TP_#/exo? && make clean
 
 Running the solutions:
 ----------------------
 
-  cd exo1 && ./exo1
-  cd exo2 && ./exo2
-  cd exo3 && ./exo3
+  cd TP_#/exo? && ./exo?
 
 Exercice skeleton:
 ------------------
@@ -35,7 +30,7 @@ Exercice skeleton:
 It's the directory exo_skel with a basic Makefile inside
 
 To use it:
-  $ cp -a exo_skel exo# (where # is a digit)
-  $ cd exo# && cp exo_skel.c exo#.c                    
+  $ cp -a exo_skel TP_#/exo? (where # and ? are digits)
+  $ cd TP_#/exo? && cp exo_skel.c exo?.c
   Edit the Makefile to change the TARGET variable to the
   exercice name desired
similarity index 100%
rename from exo1/Makefile
rename to TP_7.5/exo1/Makefile
similarity index 100%
rename from exo1/exo1.c
rename to TP_7.5/exo1/exo1.c
similarity index 100%
rename from exo2/Makefile
rename to TP_7.5/exo2/Makefile
similarity index 100%
rename from exo2/exo2.c
rename to TP_7.5/exo2/exo2.c
similarity index 100%
rename from exo3/Makefile
rename to TP_7.5/exo3/Makefile
similarity index 100%
rename from exo3/exo3.c
rename to TP_7.5/exo3/exo3.c