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 | ||
7 | The repositories organisation is pretty straightforward: | |
8 | -> exo? where ? is a digit is the repository where lies the | |
9 | solution to exercice one, and so on. | |
10 | ||
11 | Building the solutions: | |
12 | ----------------------- | |
13 | ||
14 | cd exo1 && make | |
15 | cd exo2 && make | |
16 | cd exo3 && make | |
17 | ||
18 | Cleaning the solutions: | |
19 | ----------------------- | |
20 | ||
21 | cd exo1 && make clean | |
22 | cd exo2 && make clean | |
23 | cd exo3 && make clean | |
24 | ||
25 | Running the solutions: | |
26 | ---------------------- | |
27 | ||
28 | cd exo1 && ./exo1 | |
29 | cd exo2 && ./exo2 | |
30 | cd exo3 && ./exo3 | |
31 | ||
32 | Exercice skeleton: | |
33 | ------------------ | |
34 | ||
35 | It's the directory exo_skel with a basic Makefile inside | |
36 | ||
37 | To use it: | |
75312147 JB |
38 | $ cp -a exo_skel exo# (where # is a digit) |
39 | $ cd exo# && cp exo_skel.c exo#.c | |
de32237f JB |
40 | edit the Makefile to change the TARGET variable to the |
41 | exercice name desired |