sync: 2026-11-06 11:50
This commit is contained in:
1 parent
9bf1894512
commit
c847b76b43
1 file changed
+14
-1
+14
-1
@@ -912,4 +912,17 @@ Un fichier d'en-têtes présente un résumé des concepts définis dans un fichi
|
|||||||
|
|
||||||
projet.c --> config.h (<--) config.c
|
projet.c --> config.h (<--) config.c
|
||||||
|
|
||||||
projet.c --> visuel.h (<--) visuel.c --> config.h
|
projet.c --> visuel.h (<--) visuel.c --> config.h
|
||||||
|
|
||||||
|
on peut alors compiler séparément chaque fichier.
|
||||||
|
|
||||||
|
Ex:
|
||||||
|
```bash
|
||||||
|
gcc -ansi -pedantic -c projetc.c
|
||||||
|
gcc -ansi -pedantic -c config.c
|
||||||
|
gcc -ansi -pedantic -c visuel.c
|
||||||
|
|
||||||
|
gcc projet.o config.o visuel.o
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user