X-Git-Url: https://git.piment-noir.org/?p=TD_C.git;a=blobdiff_plain;f=README;h=80f8fbc5e34d6ee47591676614bae578c1d08adf;hp=2a8c02212bd8b8bc8dacd5c13e4f4aec2ef58c62;hb=9196247ea509a1b42d2954e3a6a0547cb8334ff6;hpb=de32237fa31ef30b5242996406dc112462ad3c1d diff --git a/README b/README index 2a8c022..80f8fbc 100644 --- a/README +++ b/README @@ -5,29 +5,24 @@ The whole purpose of the current C code is to solve the Polytech'Marseille C tutorial exercices. The repositories organisation is pretty straightforward: --> exo? where ? is a digit is the repository where lies the -solution to exercice one, and so on. +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: +Building the solution: ----------------------- - cd exo1 && make - cd exo2 && make - cd exo3 && make + cd TP_#/exo? && make -Cleaning the solutions: +Cleaning the solution: ----------------------- - cd exo1 && make clean - cd exo2 && make clean - cd exo3 && make clean + cd TP_#/exo? && make clean -Running the solutions: +Running the solution: ---------------------- - 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# - edit the Makefile to change the TARGET variable to the + $ 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 BINARY_NAME variable to the exercice name desired