Le problème du makefile est régler merci

This commit is contained in:
ozvann
2024-11-04 15:17:25 +01:00
parent 56b9a0ec9d
commit 82830babbf
4 changed files with 10 additions and 8 deletions

View File

@@ -14,18 +14,20 @@ OFILES = taille.o \
CC = gcc CC = gcc
CFLAGS = -Wall -ansi -pedantic -g CFLAGS = -Wall -ansi -pedantic
# CHAPITRE 3 : DEPENDANCES (REGLES IMPLICITES) # CHAPITRE 3 : DEPENDANCES (REGLES IMPLICITES)
#deplacement.o : pion.h obstacle.h #deplacement.o : pion.h obstacle.h
menu.o : taille.h menu.o : taille.h menu.h
#pion.o : deplacement.h obstacle.h #pion.o : deplacement.h obstacle.h
#taille.o : grille.h #taille.o : grille.h
taille.o : taille.h
#grille.o : menu.h #grille.o : menu.h
#obstacle.o : pion.h #obstacle.o : pion.h

BIN
game

Binary file not shown.

4
menu.c
View File

@@ -7,8 +7,8 @@
int Menu() { void Menu() {
int sourisx, sourisy, choix = 0, x = 100, y = 100; /* Initialisation des variable */ int x = 100, y = 100; /* Initialisation des variable */
ChoisirCouleurDessin(CouleurParNom("black")); ChoisirCouleurDessin(CouleurParNom("black"));
EcrireTexte(x, y, "Taille de grille entre 3 et 9 :", 2); /* Implémentation du texte */ EcrireTexte(x, y, "Taille de grille entre 3 et 9 :", 2); /* Implémentation du texte */
y = y + 50; y = y + 50;

2
menu.h
View File

@@ -4,6 +4,6 @@
int Menu(); void Menu();
#endif #endif