Ajout des tests pour les dépendances circulaires avec les fichiers source.

This commit is contained in:
2025-02-04 10:43:10 +01:00
parent 98e84fcdf9
commit d8cd0c785b
9 changed files with 63 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
main: a.o b.o c.o
gcc a.o b.o c.o -o main
a.o: a.c a.h b.h
gcc -Wall -Werror -Wextra -c a.c -o a.o
b.o: b.c b.h c.h
gcc -Wall -Werror -Wextra -c b.c -o b.o
c.o: c.c c.h a.h
gcc -Wall -Werror -Wextra -c c.c -o c.o
clean:
rm -f a.o b.o c.o main