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:
------------------
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