]>
Commit | Line | Data |
---|---|---|
1 | Introduction: | |
2 | ------------- | |
3 | ||
4 | The whole purpose of the current C code is to solve the | |
5 | Polytech'Marseille C tutorial exercices. | |
6 | ||
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 #. | |
11 | ||
12 | Building the solution: | |
13 | ----------------------- | |
14 | ||
15 | cd TP_#/exo? && make | |
16 | ||
17 | Cleaning the solution: | |
18 | ----------------------- | |
19 | ||
20 | cd TP_#/exo? && make clean | |
21 | ||
22 | Running the solution: | |
23 | ---------------------- | |
24 | ||
25 | cd TP_#/exo? && ./exo? | |
26 | ||
27 | Exercice skeleton: | |
28 | ------------------ | |
29 | ||
30 | It's the directory exo_skel with a basic Makefile inside | |
31 | ||
32 | To use it: | |
33 | $ cp -a exo_skel TP_#/exo? (where # and ? are digits) | |
34 | $ cd TP_#/exo? && cp exo_skel.c exo?.c | |
35 | Edit the Makefile to change the BINARY_NAME variable to the | |
36 | exercice name desired |