Commit | Line | Data |
---|---|---|
de32237f JB |
1 | Introduction: |
2 | ------------- | |
3 | ||
4 | The whole purpose of the current C code is to solve the | |
5 | Polytech'Marseille C tutorial exercices. | |
6 | ||
8613557e JB |
7 | The repositories organisation is pretty straightforward: |
8 | TP_#/exo?, where # is a digit representing the TP number and | |
9 | ? is a digit representing the exercice number, is the repository | |
10 | where lies the solution to exercice ? TP #. | |
de32237f | 11 | |
5c1bf74d | 12 | Building the solution: |
de32237f JB |
13 | ----------------------- |
14 | ||
8613557e | 15 | cd TP_#/exo? && make |
de32237f | 16 | |
5c1bf74d | 17 | Cleaning the solution: |
de32237f JB |
18 | ----------------------- |
19 | ||
8613557e | 20 | cd TP_#/exo? && make clean |
de32237f | 21 | |
5c1bf74d | 22 | Running the solution: |
de32237f JB |
23 | ---------------------- |
24 | ||
8613557e | 25 | cd TP_#/exo? && ./exo? |
de32237f JB |
26 | |
27 | Exercice skeleton: | |
28 | ------------------ | |
29 | ||
30 | It's the directory exo_skel with a basic Makefile inside | |
31 | ||
32 | To use it: | |
8613557e JB |
33 | $ cp -a exo_skel TP_#/exo? (where # and ? are digits) |
34 | $ cd TP_#/exo? && cp exo_skel.c exo?.c | |
ac030a28 | 35 | Edit the Makefile to change the TARGET variable to the |
de32237f | 36 | exercice name desired |