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
|
||||
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user