ajout du code dans les fichier
This commit is contained in:
36
Makefile
36
Makefile
@@ -1,16 +1,16 @@
|
||||
# CHAPITRE 1 : BUT FINAL
|
||||
|
||||
but : game
|
||||
but : jeu
|
||||
|
||||
# CHAPITRE 2 : VARIABLES
|
||||
|
||||
OFILES = affichage.o \
|
||||
Bloque_Jdeux.o \
|
||||
Bloque_Jun.o \
|
||||
grille.o \
|
||||
Joueur_deux_pion.o \
|
||||
Joueur_un_pion.o \
|
||||
main.o
|
||||
OFILES = main.o \
|
||||
menu.o \
|
||||
board.o \
|
||||
player.o \
|
||||
graphics.o \
|
||||
ia.o \
|
||||
game_logic.o
|
||||
|
||||
CC = gcc
|
||||
|
||||
@@ -18,19 +18,23 @@ CFLAGS = -Wall -ansi -pedantic -g -lgraph
|
||||
|
||||
# CHAPITRE 3 : DEPENDANCES (REGLES IMPLICITES)
|
||||
|
||||
affichage.o : main.h
|
||||
|
||||
Bloque_Jdeux.o : Bloque_Jun.h grille.h
|
||||
|
||||
Bloque_Jun.o : Bloque_Jdeux.h grille.h
|
||||
main.o: main.c menu.h game_logic.h graphics.h board.h player.h
|
||||
|
||||
grille.o : main.h
|
||||
menu.o: menu.c menu.h graphics.h
|
||||
|
||||
Joueur_deux_pion.o : grille.h Bloque_Jun.h Bloque_Jun.h
|
||||
board.o: board.c board.h player.h game_logic.h
|
||||
|
||||
player.o: player.c player.h board.h
|
||||
|
||||
graphics.o: graphics.c graphics.h
|
||||
|
||||
ia.o: ia.c ia.h game_logic.h board.h
|
||||
|
||||
game_logic.o: game_logic.c game_logic.h board.h player.h
|
||||
|
||||
Joueur_un_pion.o : grille.h Bloque_Jun.h Bloque_Jdeux.h
|
||||
|
||||
main.o : affichage.h Bloque_Jdeux.h Bloque_Jun.h grille.h Joueur_deux_pion.h Joueur_un_pion.h
|
||||
|
||||
|
||||
#CHAPITRE 4 : DEPENDANCES AVEC COMMANDES
|
||||
@@ -41,7 +45,7 @@ game : $(OFILES)
|
||||
|
||||
#CHAPITRE 5 : NETTOYAGE DES FICHIERS GENERES
|
||||
|
||||
clean :
|
||||
clear :
|
||||
-rm -f $(OFILES) game
|
||||
|
||||
#CHAPITRE 6 : BUTS FACTICES
|
||||
|
||||
Reference in New Issue
Block a user