diff --git a/Makefile b/Makefile index 30a100f..8a2ac38 100644 --- a/Makefile +++ b/Makefile @@ -4,12 +4,13 @@ but : game # CHAPITRE 2 : VARIABLES -OFILES = main.o \ - interface.o \ - game.o \ - ai.o \ - graphics.o \ - events.o +OFILES = deplacement.o \ + main.o \ + menu.o \ + pion.o \ + taille.o \ + grille.o \ + obstacle.o CC = gcc @@ -17,17 +18,18 @@ CFLAGS = -Wall -ansi -pedantic -g -lgraph # CHAPITRE 3 : DEPENDANCES (REGLES IMPLICITES) -main.o : interface.h game.h graphics.h ai.h events.h +deplacement.o : pion.o -interface.o : interface.h graphics.h game.h +menu.o : taille.o + +pion.o : deplacement.o obstacle.o -game.o : game.h interface.h graphics.h +taille.o : grille.o -ai.o : ai.h game.h interface.h +grille.o : menu.o -graphics.o : graphics.h game.h +obstacle.o : pion.o -events.o : events.h game.h interface.h # CHAPITRE 4 : DEPENDANCES AVEC COMMANDES diff --git a/taille.h b/taille.h index e69de29..cf69731 100644 --- a/taille.h +++ b/taille.h @@ -0,0 +1,7 @@ +#ifndef TAILLE_H +#define TAILLE_H + + + + +void GererChoixTaille(int *TailleGrille);