tentation de meurtre envers lemenu.c qui n'est pas trouver par le makefile

This commit is contained in:
2024-10-29 13:32:57 +01:00
parent dc8a389f0a
commit b10c48a7f5
9 changed files with 33 additions and 22 deletions

View File

@@ -4,13 +4,13 @@ but : game
# CHAPITRE 2 : VARIABLES
OFILES = deplacement.o \
main.o \
OFILES = taille.o \
menu.o \
pion.o \
taille.o \
grille.o \
obstacle.o
main.o
#deplacement.o, pion.o, grille.o, obstacle.o
CC = gcc
@@ -18,17 +18,19 @@ CFLAGS = -Wall -ansi -pedantic -g
# CHAPITRE 3 : DEPENDANCES (REGLES IMPLICITES)
deplacement.o : pion.o
#deplacement.o : pion.h
menu.o : taille.o
menu.o : taille.h
pion.o : deplacement.o obstacle.o
#pion.o : deplacement.h obstacle.h
taille.o : grille.o
taille.o : grille.h
grille.o : menu.o
#grille.o : menu.h
obstacle.o : pion.o
#obstacle.o : pion.h
main.o : menu.h
# CHAPITRE 4 : DEPENDANCES AVEC COMMANDES