ajout de taille.h + changemet de makefile
This commit is contained in:
26
Makefile
26
Makefile
@@ -4,12 +4,13 @@ but : game
|
|||||||
|
|
||||||
# CHAPITRE 2 : VARIABLES
|
# CHAPITRE 2 : VARIABLES
|
||||||
|
|
||||||
OFILES = main.o \
|
OFILES = deplacement.o \
|
||||||
interface.o \
|
main.o \
|
||||||
game.o \
|
menu.o \
|
||||||
ai.o \
|
pion.o \
|
||||||
graphics.o \
|
taille.o \
|
||||||
events.o
|
grille.o \
|
||||||
|
obstacle.o
|
||||||
|
|
||||||
CC = gcc
|
CC = gcc
|
||||||
|
|
||||||
@@ -17,17 +18,18 @@ CFLAGS = -Wall -ansi -pedantic -g -lgraph
|
|||||||
|
|
||||||
# CHAPITRE 3 : DEPENDANCES (REGLES IMPLICITES)
|
# 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
|
# CHAPITRE 4 : DEPENDANCES AVEC COMMANDES
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user